Page 1 of 1

Flexgrid, problem entering ending column

Posted: Thu Sep 12, 2019 5:36 pm
by drosen001
If there are 10 or more columns in a flexgrid and you manually type in an ending column that starts with a "1", then the starting column changes from whatever value it had to a "1". Example: starting column = 6, now try typing in "12" into the ending column, the entire row is changed.

Also, is there an easy way to remove a row from a flexgrid without moving it to the bottom and changing the total number of rows in the flexgrid?

Thanks.

Re: Flexgrid, problem entering ending column

Posted: Thu Sep 12, 2019 5:45 pm
by Pablo
Can you please describe step by step how I can reproduce this behavior?

To remove a row, select it and then click the 'Delete' button.

Re: Flexgrid, problem entering ending column

Posted: Thu Sep 12, 2019 5:56 pm
by drosen001
1. Create a flex grid.
2. Set number of columns to 12. You'll need to use the arrows because if you type in 12, it first sees that as a "1" and immediately resizes the grid to 1 column.
3. Now, in the 2nd row, select "main"
4. In ending column type in "10". Again it sees the "1" first, moves Main to the left column overwriting what was there.

Re: Flexgrid, problem entering ending column

Posted: Thu Sep 12, 2019 6:22 pm
by Pablo
I am not sure if I can do something about this, because the layout is updated 'live', so it will immediately use the entered value.
To only way to prevent this is add an 'Apply' button so the layout is only updated when the input is complete.

Re: Flexgrid, problem entering ending column

Posted: Thu Sep 12, 2019 6:40 pm
by drosen001
I understand, although you could check if the ending column is less than the starting column and then don't do the live update. The bigger issue is that it destroys the grid settings to the left of the starting column meaning I have to rebuild the entire row.

Perhaps something similar on the "total columns" where if there is content in a column that's going to be removed, don't do the live update.

Is there a page that explains the difference between the flex grid and the flex container?

Re: Flexgrid, problem entering ending column

Posted: Thu Sep 12, 2019 8:39 pm
by Pablo
A flex container is a single row. One dimension.
A flex grid can have multiple rows. Two dimensional.