Grid Bool issue

Hi,

Need help.

I have dashboard with updatable BAQ grid.

  • Grid model epibinded to dataview
  • Column is set to bool in ERP Editor

Now fun part:

If i click on bool in grid it works

If i click on any cell in row, bool state visually changes and then if i click on that checkbox it does nothing (well unless you click fast around 7-6 times :smiley: )

Also this works one time if you click on bool corner(seams selects cell) then you can click on checkbox.


What is this :poop: ? Is this a bug or i did something wrong. Anyone had this?

3 Likes

Found that it also related with a time delay, if you press and hold for a 1-2s it works.

This seams happening if your current active cell is editable(like text) then it does not understand that you are trying to press different cell(bool) it just sets to false and sets it back to true.

2 Likes

Curious if there’s any change if you wipe out ErpEditor, ErpEditorModel everywhere you can find it.

2 Likes

looks like the same, just bool converts to value (true/false) and instead of click box, you need to type value manually :smiley:

Some how yours is getting a weird ErpEditorModel (rendering a label inside the cell).

perhaps make a quick dashboard w app wizard and compare SaveApp. mine works with no erpEditor, no erpEditorModel on gridModel.column, epBinding & BAQid in ProviderModel (not gridModel). grid.editable = true, column.editable = true

Also checkbox, common editor, yes/no in Baq settings:

Hi,

Tested using wizard. Works good and checkbox now does not have that strange animation behavior when selecting on any cell in row.

1 Like

Started again :slight_smile:

I think now i found what causes this in both scenarios. When i add event (pic bellow) to update additional related fields when checkbox clicked and then if you select editable text field and make short click on checkbox it just blinks. I disabled these events, still the same, when deleted them it started to work again.

ooo :poop: Now its good :smiley:

curious, do you mean the extra label inside the checkbox cell appears when a column changed event executes for that same field? Weird.

i am not sure now, when i recreated using wizard, checkbox does not change its appearance but it started again rollback when i added event on column. So i marked event as allow interactions during event. I think now it allow for NG onit to work properly, well i guess.
I think bool would generate extra label if i would epibind dataview in gridModel and not in ProviderModel. But that rollback behavior looks like comes from event usage