Author Topic: Need checkbox under grouping and refresh not working  (Read 4367 times)

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
Need checkbox under grouping and refresh not working
« on: September 29, 2017, 02:54:01 pm »
Hello Team,

I want checkbox under grouping.
Please find attached screen shot for example.

and also when i try to refresh pg Grid, it is not refreshing. Please check below code for reference.

              exportGridData = [];
             
              obj.dataModel = {
                data: exportGridData
              };
             
            $(".selector").pqGrid("refreshDataAndView");

and also try like this :


    $(".selector").pqGrid({
      refresh: function(event, ui) {
        ui.pageData = [];
      }
    });

the end goal is i want to remove all data from grid.


paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6124
    • View Profile
Re: Need checkbox under grouping and refresh not working
« Reply #1 on: September 29, 2017, 05:33:46 pm »
Attachment seems to be missing. Please reattach.

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
Re: Need checkbox under grouping and refresh not working
« Reply #2 on: September 29, 2017, 06:25:17 pm »
Hello Team,


Please check attached file

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6124
    • View Profile
Re: Need checkbox under grouping and refresh not working
« Reply #3 on: October 02, 2017, 09:33:09 am »
new data/ empty data is set in grid this way

grid.option('dataModel.data', [] );

followed by grid.refreshView() or grid.refreshDataAndView();

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
Re: Need checkbox under grouping and refresh not working
« Reply #4 on: October 03, 2017, 12:56:28 pm »
Dear Support team,

Our requirement is to display the checkbox inside the row grouping please refer the attached screenshot.

early response would be very helpful.

Thanks

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6124
    • View Profile
Re: Need checkbox under grouping and refresh not working
« Reply #5 on: October 04, 2017, 12:21:11 pm »
Displaying checkboxes in the same column as row grouping is not supported currently.

I'm moving it to feature request, thanks for your feedback.