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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

set values in range (or ranges) and sorting

Thread ID:





8107 Oct 21,2003 09:24 AM UTC Oct 21,2003 01:35 PM UTC WinForms 1
Tags: GridControl
Markus Kraft
Asked On October 21, 2003 09:24 AM UTC

Hi, following scenario: - DataBoundGrid with sorted integer column. - currencymanager is in use. - range over a part of cells in these (sorted) column. - a method fill the ranged cells with varios integers. and now the problem: the positions of the rows in the grid will be changed while sorted. the top and bottom property of the range is now not synchroniced with the actual view on the rows. is it possible to stop the columnsort (dont reset the sort) while operations in ranges are in progress? suspendBinding is not the solution in this case. greetings markus

Administrator [Syncfusion]
Replied On October 21, 2003 01:35 PM UTC

I don't know of a good way to do this. You could go through the range and prepare a hashtable that uses the primary key and column name as the the hashtable key and the value being the value you want to place in the table. Once you have this hashtable, you could just directly update the underlying table, finding the proper row through the primary key, and the proper column through the column name. This would change working through the grid (which is tied to the changing dataview) to working directly with the DataTable which would not be changing....


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon