Telerik Rad Grid Add New Row on Client Side

2 posts, 0 answers
  1. Senthil
    Senthil avatar
    19 posts
    Member since:
    Aug 2012

    Posted 22 Dec 2014 Link to this post

    Hi,
    How to add new row in radgrid in client side. I have tried the following way
    The Code is:
    function addNewItem(sender,args) {
      var MasterGrid = grid;
    var masterTableView = MasterGrid .get_masterTableView();
    var batchEditingManager = MasterGrid .get_batchEditingManager();
    batchEditingManager.addNewRecord(masterTableView);
    }

    When I click the new row the row was created in radgrid. but the template column was not created also the index was set to -1,-2, etc...
    In Radgrid we using shift click function so its throws script error.


    I need to add multiple row one by one on rad button click not command button and I have one Rad Button checkbox template column in my grid how can I achieve this.
  2. Eyup
    Admin
    Eyup avatar
    3014 posts

    Posted 25 Dec 2014 Link to this post

    Hello Senthil,

    Does the application work if you use the default Add New Record button:
    http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx

    Also, can you please verify whether you are using the latest release version of the controls?

    Regards,
    Eyup
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top