Help creating first datatable
Help creating first datatable
burton666
Posts: 2Questions: 2Answers: 0
I tried looking through the examples but could not figure out how to create an editable datatable.
I want a similar look as the "Zero configuration" table but it should be empty with three blank rows. And you fill in the values by clicking a cell (like in excel) and be able to use tab to move to the next cell/row.
This discussion has been closed.
Answers
Thats not really a feature built into Datatables. You could use Editor and create something like what is discussed in this thread:
https://datatables.net/forums/discussion/comment/160157/#Comment_160157
If you don't want to use Editor then you would create a table and each cell you want to be editable you would use an HTML input of the type you want, like this example. You would then use jQuery Ajax() to send the updates to a server, if desired.
The AutoFill extension will do this.
The KeyTable extension is used for excel like navigation.
Kevin