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

Grid Rows move Up and Down

hi,

Version info,
Syncfusion grid 5.2
VS 2005 - VB.NET

i am using syncfusion grid "GridDataBoundGrid"
i need to move the rows/ and its content up / down using context menu.
i tried that but focus and selection only is moving and data isnot moving..

please find me solution

up code:

intSelectedRow = gceContactList.Selections.Ranges.ActiveRange.Top
If (intSelectedRow > 1) Then
gceContactList.Focus()
gceContactList.Model.Rows.MoveRange(intSelectedRow, intSelectedRow - 1)
gceContactList.Refresh()
End If

down code:

If intSelectedRow < gceContactList.Model.RowCount Then
gceContactList.Focus()
gceContactList.Model.Rows.MoveRange(intSelectedRow, intSelectedRow + 1)
gceContactList.Refresh()
End If




3 Replies

SR Sri Rajan Syncfusion Team August 11, 2008 08:53 AM UTC

Hi rajamohan,

Thank you for your interest in Syncfusion products.

Please refer the below forum thread to move rows in GridDataBoundGridControl.
http://www.syncfusion.com/Support/Forums/message.aspx?&MessageID=24336

Please let me know if this helps.

Best Regards,
Srirajan.



AD Administrator Syncfusion Team August 12, 2008 06:21 AM UTC

hi thanks for the response.

the thread you sent contains a URL which has answer for my question

http://www.syncfusion.com/Support/article.aspx?id=10379

i think this URL u sent is expired / it says You must Enter the Article ID to view.

What should i do?





SR Sri Rajan Syncfusion Team August 12, 2008 09:24 AM UTC

Hi Rajamohan,

Thank you for your continued your interest in Syncfusion products.

Please refer the below kb article to move the rows in GridDataBoundGrid Up and Down and let me know if this helps.

http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=98

Please Open new Direct Trac incident, so that you can get faster support.

Best Regards,
Srirajan.


Loader.
Live Chat Icon For mobile
Up arrow icon