What does item. means in datatables?

What does item. means in datatables?

Mayur_dtMayur_dt Posts: 1Questions: 1Answers: 0

Hi,

I am relatively new to datatable and in my project there is an existing application which needs soem module to be enahnced.
Basically the application uses sajaxsource where source is an action class but somehow it is communicating with a jsp which has JSON notation populating data from server.
Now o datatable end they are building a table dynamically and using item.fielname present in JSON componenet.

For eg: in order to show the value of a field called productId they code in data table used value=item.productId(same case as in JSON) now is this "item." is something in built with datatable as when I try using teh above value it get undefined as the value.

Kindly help!

Answers

  • allanallan Posts: 61,916Questions: 1Answers: 10,150 Site admin

    Thanks for your question - however, per the forum rules can you link to a test case showing the issue please. This will allow the issue to be debugged. We'd, at the very least, need to be able to see your JSON data format.

    Information on how to create a test page, if you can't provide a link to your own page can be found here.

    Thanks,
    Allan

This discussion has been closed.