Function to find cell id

Function to find cell id

vinod_ccvvinod_ccv Posts: 75Questions: 0Answers: 0
edited April 2013 in General
Hi Allan,
Is the any function to find id/class parameter of a td element when clicking it.
We have fnGetData or fnGetPosition, but could nt find one for that?
If no, please suggest a method for getting it using jquery.
Regards
vinod

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Can you not just use `node.id` or `node.className` ?
  • vinod_ccvvinod_ccv Posts: 75Questions: 0Answers: 0
    Hi allan,
    Thats true , but is there any provision to provide custom class name for each column?
  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Sure - use sClass .

    Allan
  • vinod_ccvvinod_ccv Posts: 75Questions: 0Answers: 0
    Thank you, That works fine
This discussion has been closed.