Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
11386 | Mar 4,2004 01:15 PM UTC | Mar 5,2004 01:18 PM UTC | WinForms | 5 |
![]() |
Tags: GridControl |
//pnr
if (cc.IsEditing && cc.Renderer.ControlText.Trim().Length == 0)
and
//kbnr
if (cc.IsEditing && cc.Renderer.ControlText.Trim().Length == 0){
Once that was done, I was able to click arond the top grid and then click to the bottom grid and see the row added.
One other thing I saw was that you had code like
cc.Renderer.ControlText = "";
cc.CancelEdit();
when you set e.Cnacel = true in currentcellvalidating. Noramlly, you would not do this. You would only set e.Cancel = true, and then the grid should take you back to the cell with it exactly as it was when you tried to leave it. 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.
This page will automatically be redirected to the sign-in page in 10 seconds.