I have a total set of 10+ columns in my grid of which 3 are shown by default. When i try to show anything over 6 columns the table header breaks. See attached.
Hello Robert,
Remote column sorting is known limitation for the igGrid. Please refer to the following.
Let us check this. We will contact you with our findings soon.
So the sorting fires now by adding column settings but now i am back to my original concern about sorting keys for columns, as i am using the formula to map data to columns the sorting key sent to the server for each individual column is incorrect. For example, the 'Number' in my case has key 'Number' but it maps data through the formula function which returns data.Attributes.Number. Is there a way for me to specify separate sorting keys for each column? In the number case the key should be 'Attributes/Number' but the grid does not permit the use of a '/' as a key!
Hello,
Are you sure that you have "dataSource" option specified? You can add also there options to your sorting feature:
{ sortUrlKey: 'sort', sortUrlKeyAscValue: 'asc', sortUrlKeyDescValue: 'desc', name: 'Sorting', type: 'remote'}
Also please have a look at the following articles, I hope you can find them helpful:
http://ko.infragistics.com/community/forums/t/81433.aspx
http://help.infragistics.com/Help/Doc/jQuery/2013.1/CLR4.0/HTML/igGrid_Sorting_Overview.html
The sorting implementation on the backend isnt the issue, the grid just doesnt issue a sorting call to the server when i click on a column. I simply added the following configuration to the grid features to enable sorting -
{
name: 'Sorting', type: 'remote'
}
FYI- the backend already supports odata sorting on the dataset. Maybe i am missing something in the configuration here?