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. Image for the cookie policy date

sfGridSplitter

How can I store and restore the position of the GridSplitter?
Thanks,
Stephan

4 Replies

VJ Victory Jessie Selvam D Syncfusion Team November 13, 2013 10:04 AM UTC

Hi Stephan,

Sorry for the delay being caused. 

We have prepared a sample to achieve your requirement. In the sample, when the pointer is pressed and released on SfGridSplitter we are storing the ActualWidth of element on right side of the SfGridSplitter. When restore button is clicked the SfGridSplitter is moved programmatically using MoveSplitter(double change) method with the stored change value. 

The MoveSplitter(double change) method will be available from our v11.3.0.32 Service Pack release. You can download it from following location, 

http://www.syncfusion.com/support/forums/winrt/113596/Syncfusion-Essential-Studio-for-WinRT-(XAML)-v113032-(Service-Pack)-available-for-download 

Please let us know whether the provided sample meets your requirement. 

Regards,

Victory




GridSplitter_114270_e6bc6a9f.zip


SE Stephan Eggenberger November 13, 2013 02:26 PM UTC

Perfect, Thanks.


FD Finance Department July 10, 2015 07:34 AM UTC

Hi. We're trying to use the MoveSplitter function of the SyncFusion GridSplitter (WinRT).

public GridSplitterDemo()

        {

            this.InitializeComponent();

 

            Loaded += GridSplitterDemo_Loaded;

        }

 

        void GridSplitterDemo_Loaded(object sender, RoutedEventArgs e)

        {

            verticalSplitter.MoveSplitter(1.0);

        }

This results in a Null Reference exception. Please help.


Nico Dekker (Priva BV)

The Netherlands



VR Vijayalakshmi Roopkumar Syncfusion Team July 13, 2015 10:50 AM UTC

Hi Stephen,

We were able to reproduce the issue and have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please let us know if you have any concerns.

Regards,
Vijayalakshmi V.R.

Loader.
Up arrow icon