Test version: Version SNAPSHOT_v9.1d_2014-01-14 (2014-01-14)
We embed ProgressBar component inside ListGrid cell using createRecordComponent.
We do not set width for each list grid column, instead, we use SmartClient autoFitWidthApproach, autoFitFieldWidths, autoFitExpandField, autoFitFieldsFillViewport to auto size the column width.
We find that the progress bar component will overlay on top of the next cells, which makes the other cells hidden behind.
Attached is a standalone jsp page, which can be used as a test case.
Note, this does not happen if I change smartclient version back to Version v9.0p_2013-07-15 (2013-07-15). See attached images.
It should have two possibilities:
1) If we define the progress bar length, the column width should be automatically set to be larger or equal to progress bar width, so that the progress bar can be embedded inside the cell;
2) Or if we do not define the progress bar length, the progress bar width should be just 100% percent to the width of the cell which contains this progress bar
Another question is for the SmartClient auto fit column width approach, which seems not appropriate. Why the first column takes so much space, while the other columns group together. Each column should be evenly distributed. I wonder if I'm using the wrong attributes or there is some way to work around this issue. (test it with full screen size)
The four attributes we are using are:
Thanks.
We embed ProgressBar component inside ListGrid cell using createRecordComponent.
We do not set width for each list grid column, instead, we use SmartClient autoFitWidthApproach, autoFitFieldWidths, autoFitExpandField, autoFitFieldsFillViewport to auto size the column width.
We find that the progress bar component will overlay on top of the next cells, which makes the other cells hidden behind.
Attached is a standalone jsp page, which can be used as a test case.
Note, this does not happen if I change smartclient version back to Version v9.0p_2013-07-15 (2013-07-15). See attached images.
It should have two possibilities:
1) If we define the progress bar length, the column width should be automatically set to be larger or equal to progress bar width, so that the progress bar can be embedded inside the cell;
2) Or if we do not define the progress bar length, the progress bar width should be just 100% percent to the width of the cell which contains this progress bar
Another question is for the SmartClient auto fit column width approach, which seems not appropriate. Why the first column takes so much space, while the other columns group together. Each column should be evenly distributed. I wonder if I'm using the wrong attributes or there is some way to work around this issue. (test it with full screen size)
The four attributes we are using are:
Code:
autoFitFieldsFillViewport: true, autoFitWidthApproach: "both", autoFitFieldWidths: true, autoFitExpandField: "name",
Comment