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
I have a grid where I need to show two status columns. One is from a varchar/string column (this one works) and the other one is from a bool/tinyint column with numeric index keys and the second one for some reason just won't work. When looking at the generated HTML, it seems to have everything EXCEPT for the button to toggle the dropdown.
I tried setting the options with an array instead like in the second one, but it didn't change anything. Why is it not working? Is it maybe the numeric index keys that are causing it?
The text was updated successfully, but these errors were encountered:
It's caused by strict comparison in ColumnStatus::getCurrentOption. In your case you should be able to modify your code to addOption(true, 'Enabled') etc. and it should work.
I have a grid where I need to show two status columns. One is from a varchar/string column (this one works) and the other one is from a bool/tinyint column with numeric index keys and the second one for some reason just won't work. When looking at the generated HTML, it seems to have everything EXCEPT for the button to toggle the dropdown.
This is the code:
And this is the result:
I tried setting the options with an array instead like in the second one, but it didn't change anything. Why is it not working? Is it maybe the numeric index keys that are causing it?
The text was updated successfully, but these errors were encountered: