Swap rows on client side only

1 reply. Last post: May 17, 2010 4:37 AM by Glenn Layaar
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hi,

We are using IS Webgrid  (WebGrid.NET Enterprise 6.0) in one of our projects. We have a requirement in which the user can move the data in the grid ( rows of the grid) up and down based on a button click.

This is what I am doing currently,

Get the current row

Get the previous row

Swap the row using row.Position property

current row.update()

previous row.update()

 

Unfortunately, I dont see any change to the data in the grid. Is there a function which just do a client side refresh of the data? Does anyone know of a better approach to switch html rows in the grid without doing any postback?

 

 

 

 

All times are GMT -5. The time now is 10:43 PM.
Previous Next