How to change iDataSort on dynamically
How to change iDataSort on dynamically
Hello,
I am new to JQuery. I have got 25 columns with long name fields in my datatable. Hence even on bigger screen user has to scroll a lot. The solution I am trying is to concatenate few columns into one column (into multiple lines in a row). But then I lose sorting capability on the concatenated columns.
After going through forums, I learnt about iDataSort property. So now I am thinking of adding a dropdown list with the concatenated column name and on value change of dropdown list, I wish to change the iDataSort property to use hidden column for sorting. I don’t know how to change this property.
I would appreciate any help on this one. If this has been resolved before, please send me the link.
Thanks,
SV
I am new to JQuery. I have got 25 columns with long name fields in my datatable. Hence even on bigger screen user has to scroll a lot. The solution I am trying is to concatenate few columns into one column (into multiple lines in a row). But then I lose sorting capability on the concatenated columns.
After going through forums, I learnt about iDataSort property. So now I am thinking of adding a dropdown list with the concatenated column name and on value change of dropdown list, I wish to change the iDataSort property to use hidden column for sorting. I don’t know how to change this property.
I would appreciate any help on this one. If this has been resolved before, please send me the link.
Thanks,
SV
This discussion has been closed.
Replies
Allan
Thanks a lot. The fnSort API method works great for me.
Great work.
Regards,
Sachin Vaghela