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
585
AddNewBox
posted

Hello,

 

When I add a new item using the add new box, my grid has over 1000 items, but the user does not know there is a free line at the bottom (my addnewbox is at the top), can I get the browser to move down to the last row? Also it does not have the 'click style' feel like it has been pushed it stays the same even on click.

 

Any help would be lovely jubbly.

 

Dave 

Parents
  • 236
    Verified Answer
    posted

    Try the following:

    Add a handler for the AfterRowInsert Event on the client and do the following:

    function UWG1_AfterRowInsertHandler(gridName, rowId, index){

    //Add code to handle your event here.

    var grid=igtbl_getGridById(gridName);var row=grid.Rows.getRow(grid.Rows.length-1);

    row.getCell(1).beginEdit();

    row.activate();

    row.scrollToView();

    }

     

Reply Children
No Data