jQuery UI Widgets Forums Grid clear and reset column

This topic contains 3 replies, has 4 voices, and was last updated by  OlgaKorneeva 2 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • clear and reset column #54987


    i have editable cell. what is the best way to clear value of all cells to default /. i am using following method

    var rows = $(‘#table’).jqxGrid(‘getrows’);
    for(var i=0;i<rows.length;i++){
    rows[i].callQty = null;
    rows[i].putQty = null;
    //also reset the blue color
    rows[i].hasQty = ‘no’;
    is there any other better solution ?

    clear and reset column #54997


    Hello jahnvi25,

    There is no built-in method for this functionality, because the “default” values are user-specific. Your approach is suitable and there should be no issues with it. Another idea is to load the grid with the default values, if possible.

    Best Regards,

    jQWidgets team

    clear and reset column #121385


    Hello, I want to restore my particular column from several columns whenever I click the different cells of that column. So Is it possible in jqxgrid to restore the previous cell for only a single column?

    clear and reset column #121387



Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.