Convert Web.UI Grid into a data entry spreadsheet
Posted by: ComponentArt WebLogs,
on 12 Mar 2009 |
View original | Bookmarked: 0 time(s)
Q10111 - HOWTO: Create a Microsoft Excel spreadsheet-like Grid and added keystroke handling for adding new rows and moving up and down between editable cells (Up Arrow and Down Arrow to go up and down, Tab and Shift+Tab to go right and left). I also added a delete template (a clickable X) so that users could easily remove rows. In my example I start with a blank Grid which is initially populated in the load client-event with a blank row.
ASPX:
<ComponentArt:Grid id="Grid1"
AllowTextSelection="true"
.......