fnOnNewRowPosted() method to access the retuned id of the added row

fnOnNewRowPosted() method to access the retuned id of the added row

arjun_adhikariarjun_adhikari Posts: 32Questions: 0Answers: 0
edited May 2012 in DataTables 1.9
hello Allan,

i want to know how can i access the id of the added row so that i can add a class to it and highlight it...
in your forum i read about fnOnNewRowPosted() method but i am relatively new to datatables so can you send me some sample code as how to implement it.

thanks,
Arjun

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    I've no idea I'm afraid as I'm not particularly familiar with that plug-in. Perhaps someone else in the forum can answer.

    Allan
  • arjun_adhikariarjun_adhikari Posts: 32Questions: 0Answers: 0
    edited May 2012
    hello Allan,
    i have changed the question may be now you might help me achieve what i want.
  • arjun_adhikariarjun_adhikari Posts: 32Questions: 0Answers: 0
    Hello Allan,
    in the end it turned out to be very simple of what i asked of you as the fnOnNewRowPosted() function takes in the parameter send after addition of row , so i was able to get the id on the client side and by using fnDrawCallback () function able to highlight the row based on its id...
This discussion has been closed.