54
Views
1
Comments
Solved
[OutSystems Data Grid] [Outsystems Data Grid] Make a datagrid withs flexible column width?
outsystems-data-grid
Reactive icon
Forge asset by OutSystems
Application Type
Reactive

I have 2 difficult problems with the datagrid UI
The first one is
Can I make a datagrid with column width can change each time I hide or show column to fit with the table?

+ I have a table with many columns, in this case I will do with 10 column, a default grid will look like below, only see 6 column and remain unseen:
Data Grid Overview (outsystems.com) 

+ How could I make a datagrid that will auto fit all column in the grid like this (in this case is 10)?+ And each time I hide or shows column it will automatically response all the remain column
* If I show 8 column

* If I show 3 coulumns

-----------------------------------------------------------------------------------------

The Second One is
Another problem is that when I change the width of 1 Column Then it will resize the remail column accorading to smaller or bigger

This is when I have 5 column

If I EXPAND the Id, then the remain 4 will become smaller

It will smaller util it cant be more smaller  then the scrollbar-x can be showed

The hard part is It can also expand 2+ column, then the remain must response acorading to


2022-11-12 11-28-30
Gonçalo Martins
Staff
Solution
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.