How to set string id to specific row added to my datatable?

How to set string id to specific row added to my datatable?

DurankDurank Posts: 1Questions: 1Answers: 0

Please provide me an example how to add an string id to my row added and how to que the row with this specific id?

Answers

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

    Hi @Durank ,

    You can add an Id to a row by this API call:

    $(table.row(rowId).node()).attr('id', 'yourId')
    

    I don't understand what you mean by "how to que", could you rephrase that please?

    Cheers,

    Colin

This discussion has been closed.