We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

determine colIndex while editting with kb only

We would like to provide an editing experience similar to that of SSMS.  We want to be able to navigate without the mouse, commit a change when changing rows, and be able to identify which cell (or column) has the focus.  It seems that it is not possible to edit if cell selection is used (instead of row selection).  Is it possible to do what we are looking for and if so, how could we do it?
Thank you for your excellent help.
Larry Greenberg


3 Replies

FS Farveen Sulthana Thameeztheen Basha Syncfusion Team April 28, 2017 11:21 AM UTC

Hi Lawrence,   
  
Thanks for contacting Syncfusion Support.   
  
We have analyzed your query, and you want to edit the cell (without the use of mouse) and need to navigate over the cell by using keyboard navigation.  For this purpose, Syncfusion has the support of editing known as “Batch editing”.  To enable Batch editing, you need to set “EditMode” as “Batch”.   
  
Please refer to the code example and Help document link.   
  
@(Html.EJ().Grid<Object>("FlatGrid")   
            .Datasource((IEnumerable<object>)ViewBag.DataSource)   
            .AllowPaging()   
            .EditSettings(edit => { edit.AllowAdding().AllowDeleting().AllowEditing().EditMode(EditMode.Batch); })   
            .Columns(col =>   
               {   
                   col.Field("OrderID").HeaderText("Order ID").IsPrimaryKey(true).TextAlign(TextAlign.Right).Add();   
                  .  .  .   
   
              }))   
  
  
  
If you want to perform server side CRUD operations in Batch editMode, you can use the property “BatchURL”. Please refer to the Help document:https://help.syncfusion.com/aspnetmvc/grid/editing#batch-url   
  
Refer to the Help Document and Online Demo link:  
  
In addition to this, there are methods such as “batchCancel”, “batchSave”, “editCell”, “getBatchChanges” and events such as “batchAdd”, “batchDelete”,” beforeBatchAdd”, “beforeBatchDelete”, “beforeBatchSave” ,“cellEdit”  and  “cellSave” to support Batch editing.   
  
API reference link: https://help.syncfusion.com/api/js/ejgrid   
  
Let us know if you need any further assistance.   
  
Regards,   
  
Farveen Sulthana T.  



GM Gangabharathy Murugasen Syncfusion Team May 1, 2017 03:24 AM UTC

From: lawrence.greenberg@judicialdialog.com [mailto:lawrence.greenberg@judicialdialog.com]
Sent: Friday, April 28, 2017 9:10 AM
To: Syncfusion Support <support@syncfusion.com>
Subject: RE: Syncfusion support community forum 130210, determine colIndex while editting with kb only, has been updated.
 

Thank you, Farveen. 



GM Gangabharathy Murugasen Syncfusion Team May 1, 2017 11:40 AM UTC

HI Lawrence, 
Thanks for the update, Please let us know whether you required any other assistance on this. 
Regards,
M. Ganga  


Loader.
Live Chat Icon For mobile
Up arrow icon