Hi All,
I am trying to create an editable grid interface. But the column width for "ICON" is not working. Below I attached the screenshot of the code and the UI. Anyone having solution for this?
Discussion posts and replies are publicly visible
It is working when you enable the first column. Then the item count in headerCells and columnConfig matches.
Hi Stefan, Thank you for the reply.
Count in headerCells and columnConfig are same. And what is the meaning for that "Enable the first column"?
You showWhen is false. This removes the column from the list and makes the first list having 8 items vs. 9 in the other.
set the first a!gridLayoutColumnConfig() to have a "showWhen: false()" value also, and you should see what you were expecting again.
If you're going to be using this sort of set-up when any of the columns are dynamically set, you'll need to make sure all of your column headers, column layouts, and column items all get enabled/disabled under the same logic.