BCGControlBar Library for .NET
AccessRealDataOnly Property




Gets or sets a value that indicates whether the GridData operates the real data for sort operations, or creates a sort index.
Syntax
'Declaration
 
Public Property AccessRealDataOnly As Boolean
'Usage
 
Dim instance As GridData
Dim value As Boolean
 
instance.AccessRealDataOnly = value
 
value = instance.AccessRealDataOnly
public bool AccessRealDataOnly {get; set;}
public: __property bool get_AccessRealDataOnly();
public: __property void set_AccessRealDataOnly( 
   bool value
);
public:
property bool AccessRealDataOnly {
   bool get();
   void set (    bool value);
}
Remarks
Sometimes you may want to sort RowCollection explicitly. In this case set AccessRealDataOnly to true.
Default value is false and RowCollection is not modified for sort operations. Instead a special sort index is created and maintained. In this case, if you clear the sort by calling ClearSort, the Grid control will display rows in original order.

Currently GridData limits sorting by one column only. You can set AccessRealDataOnly to true and sort rows by several columns.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GridData Class
GridData Members

Send Feedback