This question is locked. New answers and comments are not allowed.
Hi,
When grid type is dynamic, the column format, currency, is not getting applied to the grid. It is just showing as a normal number.
If i mention the appropriate type, then the currency format is being applied properly.
Is this a bug? or any issue with my approach? below is the code for both the options
item.Format will carry "{0:C"}
this is working as expected if i use the specific binding and not working if choose the dynamic option.
attached are screenshots of both cases
When grid type is dynamic, the column format, currency, is not getting applied to the grid. It is just showing as a normal number.
If i mention the appropriate type, then the currency format is being applied properly.
Is this a bug? or any issue with my approach? below is the code for both the options
Html.Telerik().Grid<dynamic>()Html.Telerik().Grid<SampleGridData>()columns.Bound(item.Key).Title(item.Header).Filterable(item.Filterble).Sortable(item.Sortable).Groupable(item.Groupable).Format(item.Format).Visible(item.IsVisible).HtmlAttributes(new {@style ="text-align:left"});item.Format will carry "{0:C"}
this is working as expected if i use the specific binding and not working if choose the dynamic option.
attached are screenshots of both cases