Server Side Processing Add New not working
Server Side Processing Add New not working
 pranaysoni            
            
                Posts: 23Questions: 2Answers: 0
pranaysoni            
            
                Posts: 23Questions: 2Answers: 0            
            Hello ,Allan
add new with server side processing in very basic need.
i love datatables.net but some times this type of basic work in not done in datatable
so please add this feature in datatable grid
  table.row.add({
        category:"dsfdI",
        description:"sdfI",
        group_name:"normal",
        order_no:6,
        srno:"10",
        status:1,
        type:"color"
     }).draw();
This discussion has been closed.
            
Answers
When in server-side processing mode, the data store is at the server. So adding a row on the client-side (if you'll excuse me) is fairly pointless. DataTables in SSP mode is just a dumb display and events library. If you need to add a row, then you need to add it to the data source (i.e. at the server) and then just redraw the table.
I'll add a note to the
row.add()documentation to clearly state this.Allan