Dears,
In the samples, in the conditional formatting section of the pivot grid, i notice that when i scroll in the grid or change anything, the bars of the Bikes column are changing in width, even that the cost (number besides the bar) did not change, how is that??
i need to re implement this but on the header row ,and i did it, but the change issue, when the values is not changed, this is conflicting
Please need ur help
http://samples.infragistics.com/sldv/RunSamples.aspx?cn=pivot-grid#/pivot-grid/conditional-formatting
in this sample, if u look at the Bikes column, and look at the red rectangle of alfredo, with the value 75,949 and check the width of it, then u scroll down the grid, and go up again to the alfredo, u can c that the value 75,949 is the same, but the red bar width changed.
it is supposed that the width of the red bar is linked to the value.
what if i want all the grid to be rendered, not only the showing area.
am doing the same here, but with the header row, i want to put a colored rectangle near the row name, and the color depends on the row name. so also when i scroll the grid, different colors are displayed for the same color name, and this is not what i want :S
Hi
The changing that you see is the changing of column’s width. This is that because the content of grid is generated on demand and only the cells in visual area are rendered and shown.
The column’s width is set to fit the cells content and not to clip it. If you want to set fixed width you can do it by setting ColumnWidth property like below:
pivotGrid.DataColumns[0].ColumnWidth = 200;
Regards,
Todor