Hi,
Im am working on a grid with some Integer data columns in it (like customer Id), including filtering in the top row of the grid (thus with.Filterable(ftb => ftb.Mode(GridFilterMode.Row)); )
By default, I see decimals in the filter textbox, like 16.00.
How can I remove those decimals (just plain int) ? So that I see just 16 instead of 16.00.
I tried a lot. Like setting format to "#", "N0", "n0", "0:N0", "0:n0", etc. Also a suggestion about a javascript function coupled. But nothing seems to work.
My code is now something like this:
columns.Bound(colInfo.Name)
.Title(colInfo.Title)
.Width(colInfo.PixelWidth)
.Format(colInfo.DataFormat)
;
best regards,
Martin