CurrentCell and grid sorting in GDBG ..

Hi:

I have a GDBG sorted on one of the columns.

I have a current cell picked.

When new rows are added to the grid. As the grid resorts to accomodate the new rows, it is firing CurrentCellActivating everytime a new row is added.

How can I prevent this?

Thanks.

2 Replies

AD Administrator Syncfusion Team November 14, 2006 04:11 PM UTC

grid.CurrentCell.Lock();

.. Add rows ..

grid.CurrentCell.UnLock();

is that the right thing to do?

>Hi:

I have a GDBG sorted on one of the columns.

I have a current cell picked.

When new rows are added to the grid. As the grid resorts to accomodate the new rows, it is firing CurrentCellActivating everytime a new row is added.

How can I prevent this?

Thanks.


AD Administrator Syncfusion Team November 15, 2006 10:51 AM UTC

Hi,

Please refer to the below KnowledgeBase(KB) Article for efficiently modifying the underlying datasource of the grid.
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=99

Best Regards,
Haneef

Loader.
Up arrow icon