We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Splitter and the grid

Thread ID:

Created:

Updated:

Platform:

Replies:

1737 Nov 21,2002 02:57 PM UTC Nov 21,2002 09:47 PM UTC Windows Forms 1
loading
Tags: GridControl
Ivan Pelly
Asked On November 21, 2002 02:57 PM UTC

Is there a way to have a only a subset of the grid's columns visible in one of the splitter panes? (I.e. I don't want all the columns in both panes). Also, can I lock the splitter bar, so that the user can't move it? Thanks!

Administrator [Syncfusion]
Replied On November 21, 2002 09:47 PM UTC

> Is there a way to have a only a subset of the grid's columns visible in one of the splitter panes? (I.e. I don't want all the columns in both panes). Also, can I lock the splitter bar, so that the user can't move it? Thanks! > There is no way to get this behavior with a splitter because the splitter is just two views on the same GridModel. So, if you hide a column, it is hidden in both views. But if you do not want a column on both sides of the splitter, then you can use Cols.FreezeRange to move 'left-side' columns to the left side of the grid, and then freeze them. This would leave the scrollable columns on the right side of the grid. But with this technique, the left-side columns would have to be disjoint from the right-side columns. To lock the splitterbar, you can override OnMoveSplitter, and don't call the baseclass.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;