Hi All
I have a WebGrid which gets dynamically filled depending on the users choice on a previous page. This means that it can have various combinations of columns. It seems that if the columns are not predefined, then the alignment of numbers is not correct.
Is it possible to define the formatting of dynamic columns and add a character to indicate large numbers (eg 1000000 should be display as 1'000'000)? How can this be done?
If you are just trying to format the values of the cells, in the InitializeLayout event of the grid, set the .Format property to the mask that would be called by the .ToString of the object to get the layout you want.