Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
25
Sorting of integer columns in Infragistics WebDataGrid does not work properly
posted

When I try to sort columns having integer data in WebDataGrid, it sorts data like  string instead of integer. I have already tried adding DataType as System.Int32 but it didn't worked.

<ig:BoundDataField DataFieldName="BuildingNo" Key="BuildingNo" DataType="System.Int32" DataFormatString="{0:D4}"> <Header Text="Building No" /> </ig:BoundDataField>

I am binding the grid to data table coming from database. I am using Infragistics NetAdvantage 2012.2