You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please note that Inline Editing and Row Selection are not currently working, but there's a separate issue #68 for that (and a possible fix in there too).
However once you get over that separate issue, I found out that using Editor and Multiple Row Selection (with the checkboxSelectorPlugin) is not possible. The reason is because Editor don't work unless you enable the flag enableCellNavigation: true, however this flag is also used to toggle from a Single Selection to a Multiple Selections, as shown below
Single Selection enableCellNavigation: true
Multiple Selections enableCellNavigation: false
Since this flag enableCellNavigation is required for the Editor to work, the Multiple Selection will indeed never work.
We can trace the problem to the canCellBeActive function call on this line (shown below)
and the real problem is that the canCellBeActive function checks for the enableCellNavigation flag to be enabled, else it will return that the cell cannot be active.
If comment out this check (as shown on top), it fixes my problem and I'm wondering why the canCellBeActive has this enableCellNavigation check?
If that really has to be there, then why do we even do a canCellBeActive check to get the Editor to work?
I really need this to work for my current App, that is Editor + Multiple Row Selection. So I hope we can find a resolution to this (possibly the code I commented out). I actually never understood why enableCellNavigation: true is required for the Editor to work!?
@6pac
I can create a PR for that as well, just let me know what is the best approach to fix this issue
The text was updated successfully, but these errors were encountered:
I still don't understand why Editors cannot be used without enableCellNavigation but it's not the end of the world, I can live with that. I will close the issue since I was really using the wrong flag.
Please note that Inline Editing and Row Selection are not currently working, but there's a separate issue #68 for that (and a possible fix in there too).
However once you get over that separate issue, I found out that using Editor and Multiple Row Selection (with the
checkboxSelectorPlugin
) is not possible. The reason is because Editor don't work unless you enable the flagenableCellNavigation: true
, however this flag is also used to toggle from a Single Selection to a Multiple Selections, as shown belowenableCellNavigation: true
enableCellNavigation: false
Since this flag
enableCellNavigation
is required for the Editor to work, the Multiple Selection will indeed never work.We can trace the problem to the
canCellBeActive
function call on this line (shown below)and the real problem is that the
canCellBeActive
function checks for theenableCellNavigation
flag to be enabled, else it will return that the cell cannot be active.If comment out this check (as shown on top), it fixes my problem and I'm wondering why the
canCellBeActive
has thisenableCellNavigation
check?If that really has to be there, then why do we even do a
canCellBeActive
check to get the Editor to work?I really need this to work for my current App, that is Editor + Multiple Row Selection. So I hope we can find a resolution to this (possibly the code I commented out). I actually never understood why
enableCellNavigation: true
is required for the Editor to work!?@6pac
I can create a PR for that as well, just let me know what is the best approach to fix this issue
The text was updated successfully, but these errors were encountered: