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
Thank you for the suggestion, I have solved my issue
Hello,I am just checking about the progress of this issue.Did you solve your issue accordingly the information that I provided to you?Let me know if you need any further assistance.
Hello Sherya Patel,
In order to ensure that the sorting of the column is correct, I suggest that the DataSource data type should be the same as the one used in the column. I have created a sample, which uses two custom DataSources and displays how to set the DataSource data type correctly. For your reference, resource files are removed for maintaining low zip size.
Please let me know if you need any further assistance on this.