Find the value of html table cell by passing column name for a particular row
I am dynamically creating a table using JSON so i dont know in advance how many column and/or rows will be generated.


I add a clicked event for the row that get selected.

Now my every table will have a column name **ID**

I want to find the value of ID for the selected row.

How can i achieve this?

I have googled a find a lot of sample which select the cell be index but not by column name.


Any help is appreciated
Find the value of html table cell by passing column name for a particular row
===

I am dynamically creating a table using JSON so i dont know in advance how many column and/or rows will be generated.


I add a clicked event for the row that get selected.

Now my every table will have a column name **ID**

I want to find the value of ID for the selected row.

How can i achieve this?

I have googled a find a lot of sample which select the cell be index but not by column name.


Any help is appreciated