PC Review


Reply
Thread Tools Rate Thread

Binding Lost Datagrid Scrolling

 
 
=?Utf-8?B?U3RldmUgQi4=?=
Guest
Posts: n/a
 
      2nd Jan 2005
Why does my dGrid_CurrentCellChanged() event lose datagrid location settings
(dGrid.CurrentRowIndex and totalRowsInGrid become 0) when the user scrolls
the datagrid. (note: I perform this.bindcontext[].position = row in this
event)

Should I somehow use dGrid_Scroll() event?
How can I prevent the CurrentCellChanged() event from occuring when scrolling?

Steve
 
Reply With Quote
 
 
 
 
=?Utf-8?B?U3RldmUgQi4=?=
Guest
Posts: n/a
 
      2nd Jan 2005
ignore - solved

"Steve B." wrote:

> Why does my dGrid_CurrentCellChanged() event lose datagrid location settings
> (dGrid.CurrentRowIndex and totalRowsInGrid become 0) when the user scrolls
> the datagrid. (note: I perform this.bindcontext[].position = row in this
> event)
>
> Should I somehow use dGrid_Scroll() event?
> How can I prevent the CurrentCellChanged() event from occuring when scrolling?
>
> Steve

 
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
Binding to a datagrid Khan Microsoft Dot NET Framework 1 21st Apr 2008 06:06 PM
threading, what different between DataGrid Binding to Binding TextBox mttc Microsoft Dot NET Framework Forms 3 19th Nov 2004 08:33 AM
datagrid scrolling...capturihng rows displayed in view of datagrid Patrick Microsoft Dot NET Framework Forms 3 7th Jun 2004 11:07 AM
datagrid-binding reiks Microsoft ASP .NET 1 19th Dec 2003 12:56 AM
binding a datagrid Tonya Microsoft ADO .NET 7 17th Nov 2003 11:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:54 AM.