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
235
Strange behaviour (bug?) with Infragistics WebGrid when sorting in Outlook Group By mode
posted

Hi

I think I have encountered a bug in the WebGrid control.

I have created a datasource which connects to the NWind db and returns all data from the "Alphabetical List of Products" view.  I have initialised a WebGrid control with this datasource.

For my purposes, I need to cause a postback when I sort any of the columns.  Therefore, I connect an empty method to the SortColumn event.

If I drag and drop a couple of columns into the Group By box, the control groups the columns correctly.

However, when I sort any of the columns (either a grouped or ungrouped column), the column groupings shift (or rotate) left and continue to do so whenever I click any column header.

The behaviour does not occur if there is no postback.

Please assist.

Andy