removing a row / redrawing table doesn't update row count

removing a row / redrawing table doesn't update row count

VexiphneVexiphne Posts: 3Questions: 0Answers: 0
edited November 2010 in Bug reports
How can I get the row count to update when you delete rows from a datatable ?

Replies

  • jtaljtal Posts: 1Questions: 0Answers: 0
    Did you ever get a response to this? It is happening for me as well. I'm using 1.7 and when I do fnDeleteRow the row is removed from the table but the count stays the same.
  • verevere Posts: 4Questions: 0Answers: 0
    Same issue here.
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    I'd guess you are using server-side processing. Is that correct? If so, then you should note that fnDeleteRow is suitable for client-side processing only - if you are using server-side processing (i.e. "bServerSide": true), then to add data, you must add it to the data source, i.e. the server-side, through an Ajax call.

    If you aren't using server-side processing, please link me to a test page so I can see the issue.

    Allan
This discussion has been closed.