Exemple #1
0
 // Allows child components to change column grouping.
 internal void SetGrouping(bool g)
 {
     if (groupable)
     {
         grouping = g;
         DataGrid?.ChangedGrouping(this);
     }
 }
Exemple #2
0
 protected override void OnParametersSet()
 {
     // This needs to be removed but without it, the initial grouping is not set... Need to figure this out.
     if (!initialGroupBySet && grouping)
     {
         initialGroupBySet = true;
         Task.Run(async() =>
         {
             await Task.Delay(1000);
             groupBy = GroupBy;
             CompileGroupBy();
             DataGrid?.ChangedGrouping(this);
         });
     }
 }