My column is defined as follows:
columns.Bound(o => o.SequenceNumber).Title("Seq #").Width(50).ClientTemplate("' value='<#=SequenceNumber#>' />");
The model I'm pulling in has SequenceNumber defined as Nullable<decimal>
. When I pull in the grid's properties, the Type
is "Number". Normally, this is referring to integers in our program. I know that "Decimal" is a valid value for the Type
. How do I get my datacolumn to show up as that Type
?
At this point, my solution is to manually change the data type for the column for this grid as it is retrieved for export, as my attempts to suggest a datatype failed.