data table search
data table search
djoseph
Posts: 1Questions: 0Answers: 0
I have a list of bigint values and I am displaying them in IP format
eg: {167772160} will be displayed as 10.0.0.0 in the table.
But if I search for something like 10.0.0.0 , no search results are displayed.
This is my code where intToIP is the js function which converts int to IP format.
"aoColumns": [
{
"mData": "networkAddress",
"mRender": function(data, type, row) {
return intToIP(data);
},
},
My understanding is used to manipulate data for display (including filtering, sorting etc)
In this case ,Should something else added so that the sorting works.
Thanks
eg: {167772160} will be displayed as 10.0.0.0 in the table.
But if I search for something like 10.0.0.0 , no search results are displayed.
This is my code where intToIP is the js function which converts int to IP format.
"aoColumns": [
{
"mData": "networkAddress",
"mRender": function(data, type, row) {
return intToIP(data);
},
},
My understanding is used to manipulate data for display (including filtering, sorting etc)
In this case ,Should something else added so that the sorting works.
Thanks
This discussion has been closed.
Replies
Allan