Accessing data received from fnGetData using some key rather than column no.

Accessing data received from fnGetData using some key rather than column no.

sumitshiningsumitshining Posts: 12Questions: 0Answers: 0
edited January 2013 in General
I want to access values in a particular column using a key rather than its row no because every time a new column is added in between previous code has to be changed. What shall be done?

Replies

  • sumitshiningsumitshining Posts: 12Questions: 0Answers: 0
    Example,
    http://live.datatables.net/omocek/7
  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    I'd suggest you use objects rather than arrays: http://datatables.net/blog/Extended_data_source_options_with_DataTables

    Allan
This discussion has been closed.