Just getting started with the WebDataGrid. Project will have several grids displaying trade data with fields - symbol, quantity, price and principal. The quantity columns should all numeric with zero decimal places. What is the recommended way to apply a common style to a particular type of column ? Can I create a new class inherited from GridField ?
Thx in advance
Hi,
Thank you for posting on our forums.
While you should be able to create a new class inherited from GridField, I believe is best to use the built in DataFormatString feature for the WebDataGrid to format the column to display it's values as you specify.
Here are some helpful links regarding DataFormatString:http://es.infragistics.com/community/forums/t/44556.aspx http://es.infragistics.com/community/forums/t/67058.aspx https://www.youtube.com/watch?v=gKKziik7VW8 http://help.infragistics.com/doc/ASPNET/2014.1/CLR4.0/?page=WebDataGrid_Columns.html
Please let me know if you have any questions regarding this matter.
Thx Jose. I was able to derive a class from BoundDataField and use it within a grid. I had to use the workaround outlined in this post:
http://es.infragistics.com/community/forums/p/58326/296822.aspx#296822
Was that fix ever released ?
Thx