PC Review


Reply
Thread Tools Rate Thread

CF datagrid sorting problem

 
 
Tom Pauwels
Guest
Posts: n/a
 
      29th Sep 2003
Hello,

I have a datagrid which displays some stock data (stock count, material,
description,...) to the user.
The user can select a row and alter the stock count value by means of a
up-down control above the grid.
The user can also sort the grid by clicking on one of the header row
columns. This sorting is done with a dataview and the .sort() method.
The problem is when a user sorts the grid by the stock count value and then
changes the stock count value, the selected row can switch places in the
grid.
The dataview seems to automatically resort the data when altering it,
according to the .sort() parameter, and not only when the .sort() method is
called.
Is there a way to prevent the dataview or datagrid to automatically
rearrange the rows when altering the value of the column it is sorted on? I
want the row to stay in place and only sort the grid by clicking on the
header row columns.

Thanks for any replies!

Tom Pauwels



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with sorting a datagrid =?Utf-8?B?TmV3Ymll?= Microsoft C# .NET 0 4th May 2005 05:36 PM
Another Datagrid Sorting Problem Carl Tribble Microsoft VB .NET 0 12th Oct 2004 04:35 PM
Datagrid sorting problem kkw Microsoft VB .NET 1 1st Sep 2004 09:37 AM
Another DataGrid Sorting problem ddaniel Microsoft ASP .NET 3 30th Jul 2004 06:12 PM
DataGrid Sorting problem Peter O'Reilly Microsoft ASP .NET 1 22nd Jan 2004 11:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:26 PM.