The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
How can I set a column as Currency with a GroupingGridControl?
grid.TableModel.ColStyles[ columnName ].CellType = "Currency";
Doesn´t do anything. In fact no change I make through TableModel is seen: for example
grid.TableModel.ColStyles[ columnName ].BackColor = Color.Beige;
I see I can set a column as Currency in the PrepareViewStyleInfo and QueryCellStyleInfo events... but can I do it once for the whole column(s)?
PS: IGridTableCellStyleCache sounds like a clue, is something similar to the "ResizableRows" example needed?
ADAdministrator Syncfusion Team October 3, 2005 10:32 AM UTC
You can set:
this.gridGroupingControl1.TableDescriptor.Columns["col1"].Appearance.AnyRecordFieldCell.CellType = "Currency";
ADAdministrator Syncfusion Team October 3, 2005 10:57 AM UTC
Uhm, I got lost through the millions of properties again :), thanks Clay.
>You can set:
>
>this.gridGroupingControl1.TableDescriptor.Columns["col1"].Appearance.AnyRecordFieldCell.CellType = "Currency";
>