Login
Latest Development Blogs
Forum Topics Post
Browse By Tag
I am using the WebGrid 7 R2. I have a problem that when I update a cell value in the Webgrid and tab to the next cell the status bar does not show that I have any pending changes yet. It does not send to recognize that I have any changes until I click on another row. Is there any way to force the pending changes to update with a tab to the next cell? I have tried this, but it does not seem to update the pending changes.
selectedRow.SetDataChanged();
WebGrid1.MarkEdit();
}
When you press tab, it will next into next editted cell. You will need to exit edit mode when press tab. With this way, WebGrid will recognize it as penidng changes at status bar.
function WebGrid1_OnEditKeyDown(controlId) { var grid = ISGetObject(controlId); if (event.keyCode == "9") { window.setTimeout(function() { grid.ExitEdit(1, 0, 0); }, 800); } return true; }
Hope this helps.
Regards,Handy