Adding content to columns which were initiated as "mDataProp": null, makes them un-sortable
Adding content to columns which were initiated as "mDataProp": null, makes them un-sortable
tankchintan
Posts: 2Questions: 0Answers: 0
In my app I need to render the table first with one column pre-filled and then progressively fill other columns. In my simplest case after initiating the datatable I fill the first column with data and then fill the next 2 columns using fnUpdate. A word of note here during initialization all the columns but the first had mDataProp = null.
So after filling up the data I try to click on the new column headers but no sort happens on it. Here is the jsfiddle link which has the simplest example. http://jsfiddle.net/tankchintan/XceCt/12/ I also experimented with keeping all the columns first visible and then making them visible just before I add new column data.
Please help.
So after filling up the data I try to click on the new column headers but no sort happens on it. Here is the jsfiddle link which has the simplest example. http://jsfiddle.net/tankchintan/XceCt/12/ I also experimented with keeping all the columns first visible and then making them visible just before I add new column data.
Please help.
This discussion has been closed.
Replies