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.
Unfortunately, activation email could not send to your email. Please try again.

Skip grid in tabbing sequence

Thread ID:

Created:

Updated:

Platform:

Replies:

131840 Jul 30,2017 11:26 AM Aug 2,2017 01:08 AM JavaScript 3
loading
Tags: ejGrid
Nga
Asked On July 30, 2017 11:26 AM

I have a ejgrid with toolbar items. When I tab between HTML controls, it moves between grid toolbar items. I would like to skip grid in tabbing sequence. Is it possible to do that?

Venkatesh Ayothi Raman [Syncfusion]
Replied On July 31, 2017 08:34 AM

Hi Nga, 

Thanks for Contacting Syncfusion support. 

We suspect that you want to disable the tab key processing for Grid toolbar elements. If so, we suggest you to prevent the tab key operations in Grid dataBound event like as follows, 
Code example
$("#Grid").ejGrid({ 
                 
                dataSource: window.gridData, 
                allowPaging: true, 
                dataBound:function(args){ 
                        //here we can prevent the tab key Grid toolbar and page elements                    $("#"+this._id+" .e-gridtoolbar,.e-pager").attr("tabindex",-1); 
               
                }, 
                editSettings: { allowEditing: true, allowAdding: true, allowDeleting: true }, 
                toolbarSettings: { showToolbar: true, toolbarItems: [ej.Grid.ToolBarItems.Add, ej.Grid.ToolBarItems.Edit, ej.Grid.ToolBarItems.Delete, ej.Grid.ToolBarItems.Update, ej.Grid.ToolBarItems.Cancel] }, 
                columns: [ 
                        .  .  . 
                ] 
            }); 


If we misunderstood your requirement, then could you please provide more details about your requirement? 

Regards, 
Venkatesh Ayothiraman. 


Nga
Replied On July 31, 2017 10:35 AM

Thanks. It works.


Venkatesh Ayothi Raman [Syncfusion]
Replied On August 2, 2017 01:08 AM

Hi Nga, 

Thanks for the feedback. 

We are very happy to hear that your requirement is achieved. 
Regards, 
Venkatesh Ayothiraman. 


CONFIRMATION

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.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;