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
close icon

Dragging stacked header columns

Hello,

In the SfDataGrid wpf component, the user can easily reorganize the columns according to his will. The property is AllowDraggingColumns="True".
Now, we would like to have the same behavior with the Stacked Columns: clicking and dragging a stacked column will allow us to reorganize those stacked columns and their attached columns.
Is there a way to achieve that with SfDataGrid ?

Thank you.
Joseph

5 Replies

JG Jai Ganesh S Syncfusion Team October 6, 2015 01:44 PM UTC

Hi Joseph,


Thank you for using Syncfusion Products.


We have analyzed your query. We regret to inform you that currently we don’t have a support to drag and drop for stacked columns and it only supported for header columns.

Please let us know if you have any query.


Regards,

Jai Ganesh S



JV Joseph Vianes October 7, 2015 12:25 PM UTC

Hi Jai Ganesh S,

Thank you for your response.

It's an important feature that we want to provide to our users. Do you have any clue on how we can achieve that ?

Regards,
Joseph




JG Jai Ganesh S Syncfusion Team October 8, 2015 01:49 PM UTC

Hi Joseph,


Thank you for the update.


Could you please confirm your requirement for how to drag and drop the stacked columns whether you want to drag the one level of stacked header to another level of stacked header? Could you please share the more details for this requirement then we will try to achieve this in sample level.


Please let us know if you have any query.


Regards,

Jai Ganesh S



JV Joseph Vianes October 8, 2015 04:14 PM UTC

Hi Jai Ganesh S,

Thank your replay.
Please find encolsed to this message a visual studio solution containing a simple example of the grid we have.

Basicly, we want the user to be able to reorder the StackedColumns in one level by clicking into the stackedColumn and by dragging it to an other position (exactally like dragging columns when we use  AllowDraggingColumns="True"). In the example, he can choose to put the "Year 2018 And 2009" stackedColumn at the second position, between "Year 2010 And 2011" stackedColumn and "Year 2012 And 2013" stacked column. Of course, once the user drops the stackedColumn into the desired position, the underlying columns of that stackedColumn has to "folow" the stackedColumn into it's new position.

Regards,
Joseph

Attachment: DragAndDropStackedHeaders_b21b5d0f.zip


JG Jai Ganesh S Syncfusion Team October 12, 2015 03:37 AM UTC

Hi Joseph,


Thank you for the update.


We analyzed your query. A support incident to track the status of this query 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=/support/directtrac/incidents


Please let me know if you have any questions.


Regards,

Jai Ganesh S


Loader.
Live Chat Icon For mobile
Up arrow icon