Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Sorting in a Report Grid. Collapse All
Subject Author Date
David Skok May 4, 2007 - 3:02 PM

Is there a way that I can disable sorting on a column when clicking on that column heading but still allow group sorting using drag and drop or programatic methods.

Technical Support May 5, 2007 - 4:45 AM

The following methods of the CExtReportGridColumn class allow you to customize the column behavior in the report grid control

virtual bool GroupingEnabledGet() const;
virtual void GroupingEnabledSet(
      bool bGroupingEnabled = true
      );
virtual bool SortingEnabledGet() const;
virtual void SortingEnabledSet(
      bool bSortingEnabled = true
      );
virtual bool DragDropEnabledGet() const;
virtual void DragDropEnabledSet(
      bool bDragDropEnabled = true
      );