Project example is attached.
Clicking any cell, Always you'll get column index 0 according to your code above.
I want it as this: if you clicked on Erel cell you should got index 1 and if you clicked on Hamied cell you should got index 2 and so on.
I want column index regardless of column title "columnid"
In cellclicked event we get the row id perfectly, but column index no!
My purpose is getting the column index from the table so I can iterate smoothly through the table columns, and i can call the column by index not name.
I don't depend on titles, because my app is multilanguages, so it is a time consuming to depend on column titles.