Strange behavior caused by keys in DataTable

Strange behavior caused by keys in DataTable

jbblakejbblake Posts: 14Questions: 6Answers: 0

When I add
keys: {
editor: localEditor
},

to my DataTable to use excel like navigation, I get the error
"Unable to automatically determine field from source."
whenever I make a change to a column in the bubble. This also breaks the ability to tab through the columns in the bubble.
When I use tab I see tabbing in the DataTable not in the bubble.
I can continue and see my change.
When I change it to
keys: {
},
I no longer get the error, Excel like navigation works, but still cannot tab in the bubble, and see tabbing in the DataTable.
If I remove the keys statement, the bubble functions as expected, but Excel like navigation no longer works.
I was able to make this work using your example, so my assumption is some other code is interfering.
I know this is not enough to you to give me an answer, but I hope you can point me in the right direction.
Thank You

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,439Questions: 1Answers: 10,053 Site admin
    Answer ✓

    You may need to use the columns.editField option to tell Editor which field is to be edited based on the data source. There is an example here and a full description here.

    Beyond that, if you can link to a page showing the issue, that would be great.

    Allan

  • jbblakejbblake Posts: 14Questions: 6Answers: 0

    This did not solve the issue. Since the problem is most likely my lousy code. I am marking as answered, and trying a new approach

This discussion has been closed.