HighTechTalks DotNet Forums  

DataGrid sorting problems

Dotnet Academic General Discussions microsoft.public.dotnet.academic


Discuss DataGrid sorting problems in the Dotnet Academic General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Pal Ovidiu via .NET 247
 
Posts: n/a

Default DataGrid sorting problems - 05-16-2005 , 04:30 AM






In order to get rid off the last row of the DataGrid,
the one he is always proposes as editable new row,
I've set CurrencyManager.AllowNew = false.

If the DataGrid has a sorting rule, when I add after some
button gets clicked, a new 'empty' row ... the defaultView
of the DataSource becomes alive and instead of leaving the
new row on the last position (as I would like it to be),
he repositions the row on the fisrt position of the grid ,
since is 'empty' and sorting rule would dictate so ...

any ideea how should i prevent that ?

--------------------------------
From: Pal Ovidiu

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>4jJT+JE8qk2QnRKuJcAoGg==</Id>

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.