I have a web grid that when it is bound, if the value in the DB is 0, it does not display a 0, it just displays a blank. Is this by design, is there setting I am missing, is there a workaround? thanks.
try to set the data type for the column to string and convert the value when you bring from the database
thank you for the reply, but that didn't work. Any other suggestions? Here is the HTML for the column
<igtbl:UltraGridColumn BaseColumnName="HEADCOUNT" IsBound="True" Key="HEADCOUNT" AllowUpdate="Yes" Width="30%" NullText="0" FooterTotal="Sum" Format="###,###,###.##" DataType="System.Double"> <CellStyle HorizontalAlign="Center" ></CellStyle> <Header Caption="HC" > <RowLayoutColumnInfo OriginX="7" /> </Header> <Footer> <RowLayoutColumnInfo OriginX="7" /> </Footer> </igtbl:UltraGridColumn>
I had changed DataType="System.String"