search disappears when adding new column to datatables
search disappears when adding new column to datatables
Hello everyone new to the forums here. Datatables seems to be a very useful feature, however, I am having a little trouble getting started with the basics.
Why does the search box disappear when adding new columns in the HTML of datatables? I'm trying to convert something to jquery and data tables, but cannot figure out how to add new data besides for data in the pre-existing settings that I got when I downloaded the program. The website isn't very clear on how to add new columns...
For clarification, I can edit the existing data just fine, adding new ones is a pain.
This is what I have so far:
[code]
Rendering engine
Browser
Platform(s)
Engine version
CSS grade
new column
[/code]
As soon as I add new column the search bar and all useful features are disabled. What am I doing wrong? I'm guess I have to edit the Datatables.js file but how and where?
Why does the search box disappear when adding new columns in the HTML of datatables? I'm trying to convert something to jquery and data tables, but cannot figure out how to add new data besides for data in the pre-existing settings that I got when I downloaded the program. The website isn't very clear on how to add new columns...
For clarification, I can edit the existing data just fine, adding new ones is a pain.
This is what I have so far:
[code]
Rendering engine
Browser
Platform(s)
Engine version
CSS grade
new column
[/code]
As soon as I add new column the search bar and all useful features are disabled. What am I doing wrong? I'm guess I have to edit the Datatables.js file but how and where?
This discussion has been closed.
Replies
Allan
DataTables requires that the number of cells === rows * columns. Otherwise it won't work.
Allan