-
Beta Was this translation helpful? Give feedback.
Answered by
vtt-lair
Apr 26, 2023
Replies: 1 comment
-
Found a solution. The datatable finds the column where there data is the dame as the elements data: Since both are defined with Changing the Tags column definition to:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
vtt-lair
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found a solution. The datatable finds the column where there data is the dame as the elements data:
var i = columns.findIndex(function (e) { return e.data === el.data; });
Since both are defined with
data: null
, it would find the tags columns everytime as it's the first column with data: null.Changing the Tags column definition to:
Fixed the issue: