Hi
I've been watching his examples: http://ko.infragistics.com/products/aspnet/sample/data-grid/auto-crud http://ko.infragistics.com/products/silverlight/sample/grid/#/add-new-row but before making a decision i would like to know if possible to change some behavior. a) To Use enter key as tab and last cell add new row b) Set a Cell Value When Another Column Value is Changed i hope you can answer my question Thanks
Hello Roelmis,
I would say that boht scenarios are implementable, probably first before changing the default behavior might wnat to check out grid's accessibility compliance http://help.infragistics.com/NetAdvantage/ASPNET/2012.1/CLR4.0?page=WebDataGrid_Accessibility_Compliance.html .
Back to the first quesiton, I can think of handling the client-side keydown handler then perform a check there if it's enter key pressed , cancel the event, and take the cell object which should be passed by the args parameter, then get a reference to the current row and column and select by code next. via RowSelection behavior.
About your second question, on top of my head i can think of using Cell Editing behavior, there you can subscribe to cellEdited client - side event handler and listen to any changes happening in the grid. Here's more info about this grid's feature : http://help.infragistics.com/Help/NetAdvantage/ASPNET/2011.2/CLR4.0/html/WebDataGrid_Cell_Editing.html
Hope this helps
i got it.
now i can make a better decision.
Thanks a lot