KeyTable key-focus event and column name

KeyTable key-focus event and column name

msand01msand01 Posts: 54Questions: 24Answers: 1

With the key-focus event, is it possible to determine if a particular column was clicked, via the data name property, as opposed to the index. I am using Objects as my data source.

For example, in the event body, I can do this
if (cell.index().column === 1)
to get the index of the column, but is it possible to do a comparison with the name instead, something like this?
(I realize this is wrong)
if ( === 'Age')

Thank you in advance.

This question has an accepted answers - jump to answer


  • allanallan Posts: 49,068Questions: 1Answers: 7,175 Site admin
    Answer ✓

    There actually isn't at the moment I'm afraid... You can set a name for a column using, but currently the only way that can actually be used is with a column selector. There isn't currently an API method that will let us get / set a column name.

    I've added to the list to add now though!


Sign In or Register to comment.