Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
35
TabIndex property of UltraWebgrid
posted

Hi All,

In  my form there are one text box and Infragistics web grid. I set the tab property of textbox to 1 and tabindex of Webgrid to 2.

When I hit the tab key to go from text box to Grid it is not working properly. 

I created new button and updated the tab index property to 3 and on hitting the tab from first text box it is going directly to the button. i.e (from tab index 1 to tab index 3 skipping tab index 2)

I even looked at samples on the site, but i didnt got much there also. 

Any help in this matter is highly appreciated.

 

Parents Reply
  • 55
    posted in reply to [Infragistics] Rumen Stankov

    That is completely false. Tables can receive tabs and focus and so can cells. Here is the sample HTML. Simply begin tabbing and you will see it is possible. Therefore, I disagree and this should be fixed, especially for Section 508.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>Untitled Page</title>
    </head>
    <body>
        <form id="form1" runat="server">
            <input id="txtBox" tabindex="1" type="Enter something here." />
            <table border="1" cellpadding="3" tabindex="2" onfocus="this.style.backgroundColor='blue';" onblur="this.style.backgroundColor='white';" style="width: 50%; height: 50%">
                <tr>
                    <td tabindex="3" onfocus="this.style.backgroundColor='red';" onblur="this.style.backgroundColor='white';" style="width: 100px">
                    Row 1 cell 1.
                    </td>
                    <td tabindex="4" onfocus="this.style.backgroundColor='red';" onblur="this.style.backgroundColor='white';" style="width: 100px">
                    Row 1 cell 1.
                    </td>
                    <td tabindex="5" onfocus="this.style.backgroundColor='red';" onblur="this.style.backgroundColor='white';" style="width: 100px">
                    Row 1 cell 1.
                    </td>
                </tr>
                <tr>
                    <td tabindex="6" onfocus="this.style.backgroundColor='red';" onblur="this.style.backgroundColor='white';" style="width: 100px">
                    Row 1 cell 1.
                    </td>
                    <td tabindex="7" onfocus="this.style.backgroundColor='red';" onblur="this.style.backgroundColor='white';" style="width: 100px">
                    Row 1 cell 1.
                    </td>
                    <td tabindex="8" onfocus="this.style.backgroundColor='red';" onblur="this.style.backgroundColor='white';" style="width: 100px">
                    Row 1 cell 1.
                    </td>
                </tr>
                <tr>
                    <td tabindex="9" onfocus="this.style.backgroundColor='red';" onblur="this.style.backgroundColor='white';" style="width: 100px">
                    Row 1 cell 1.
                    </td>
                    <td tabindex="10" onfocus="this.style.backgroundColor='red';" onblur="this.style.backgroundColor='white';" style="width: 100px">
                    Row 1 cell 1.
                    </td>
                    <td tabindex="11" onfocus="this.style.backgroundColor='red';" onblur="this.style.backgroundColor='white';" style="width: 100px">
                    Row 1 cell 1.
                    </td>
                </tr>
            </table>   
        </form>
    </body>
    </html>

     

Children