how do I add an index to a row when I create using the API ?

how do I add an index to a row when I create using the API ?

vtgavvtgav Posts: 5Questions: 3Answers: 0

I'm using row.add() to dynamically add rowsfrom JSON structures arriving down a websocket. From then on I need to update rows whenever data for that row arrives down the websocket. I've done this previously using simple html tables and id's and am trying to use Datatables instead but i can't figure how to (a) add an id when I create the row, and then (b) access that row when I have new data for it.
I appreciate I'm new and might not have read the docs correctly - any help very much appreciated,
thx,
Gav

Answers

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

    Hi @vtgav ,

    This thread here should help, let us know if not,

    Cheers,

    Colin

  • vtgavvtgav Posts: 5Questions: 3Answers: 0

    Hi Colin,
    that looks perfect ! I'll try it out . . .
    Gav

This discussion has been closed.