Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Group By State not being set at times

    SmartClient Version: v11.0p_2017-02-11/PowerEdition Deployment (built 2017-02-11)

    I am using datasource and displaying listgrid. I need to save the group by state and set the group by state to initially saved state.
    I am setting the groupstate like below:
    grid.setGroupState("([{fieldName:"matDescription",groupingMode:null,groupGranularity:null,groupPrecision:null}])");
    Sometimes, the state is shown and sometime its not. Also, sometime the grouping option is not visible in header menu.


    #2
    Hi swatiagarwal,

    perhaps related to the groupByMaxRecords-setting?

    Best regards
    Blama

    Comment


      #3
      Thanks Blama. But for the same grid and same data on same browser, sometimes the groupState is set and sometimes it is not. Is this expected? Also, what can i do to set the groupState in case of large number of records?

      Comment


        #4
        I have set grid.setGroupByMaxRecords(5000);
        Seems to work fine now.
        Thanks a lot

        Comment

        Working...
        X