Datatables Editor SUM how ?

Datatables Editor SUM how ?

omurltsomurlts Posts: 35Questions: 6Answers: 0

im want sum columns total but server side ..

client side working all page total sum make but server side just one page sum make ?

im how make total and pagetotal for serverside ?

Answers

  • kthorngrenkthorngren Posts: 21,303Questions: 26Answers: 4,947

    See if this thread helps you get started:
    https://datatables.net/forums/discussion/comment/137572/#Comment_137572

    Your server script will need to calculate the sum and return it with the ajax response. There is an example to show how to extract this from the ajax response.

    Kevin

  • omurltsomurlts Posts: 35Questions: 6Answers: 0

    there dont use editor im need editor example..

    client side working but when server side true not working.

    $editor fields how added sum columns need example.

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @omurlts ,

    Editor isn't a factor here - nothing is being edited - that link Kevin sent is spot on.

    Cheers,

    Colin

This discussion has been closed.