I am using the UltraWinGrid 2010.2 and we have group by working in some other projects with the same dll, but it doesn't work in one particular project. I enabled it via the designer by clicking Start --> Feature Picker --> Outlook Group By and both "Active" and "Show GroupBy Box" are checked. In the Grid, I can see the area where it says Drag a column header here to group by that column, but when I drag on a column header, nothing really happens. Any clues as to where I might look?
thanks
greg
We had DisplayLayout.Override.AllowGroupBy turned off, probably because our sorting is happening server side. Thanks
Hi,
When you drag a column header, you should get a little semi-transparent image of the header along with the mouse pointer. If you are not getting that, then you are not dragging the column at all. So you must have turned this off.
If you can sort, then your HeaderClickAction must be set to sorting and not selecting, but the grid will normally allow you to drag a column if the GroupByBox is visible, I think. So you must be setting a property that is explicitly disabling this functionality. It's hard to know for sure what that might be, though. There are a lot of variables.
I'd check your code for references to the Override object and see what properties you are setting on the grid.DisplayLayout.Override or on any band.Override. You could also check for properties that you are setting on the Column object itself.
Also, you should check to see if you are calling one of the Load methods on the DisplayLayout. You could be loading a layout which would set properties that you cannot search for in your code.
If you can post a sample project which I could run, I could track it down for you pretty easily, but without a sample, all I can do is try to point you in the right direction.
sorting works though, so when I try to drag the column header, I get no visual clues and when I release the mouse, the column sorts.
there is no icon displayed, the cursor never changes from a hand when you try to drag. Dragging column headers seems to be disabled entirely.
When drag the column header over the GroupByBox, what does the cursor show? Is it displaying a NOT symbol?
Are you able to drag and drop the columns into other positions? For example, can you change the order of your column by dropping a column in between two other columns?