Skip to content

Replies

0
Shobhana Suara
Shobhana Suara answered on May 18, 2023 10:15 AM

Using 9.1.28 version of Infragistics

0
Shobhana Suara
Shobhana Suara answered on May 17, 2023 11:45 AM

Thank you for replying.

But this not what i am looking for.

I am calling the backend API every 20 secs to get the updated data for the child grid. But my challenge is to bind the data to Child grid.

On click of button in child grid toolbar, i update the grid data and it shows the updated Status but as the data is not binding. I have manually reload the page to get the updated data to grid.

TS: This is giving me updated  child data but not binding to grid. Can i access the child grid data like this.childGrid.data?

ngOnInit(): void {
    this.getParentList();
    this.intervalId = setInterval(() => {
      if (this.apiResponse ) {
        this.getChildData(this.parentID);
     
        this.hgrid.cdr.detectChanges();
      }
    }, 20000);
}
0
Shobhana Suara
Shobhana Suara answered on May 12, 2023 6:49 AM

Please reply ASAP

0
Shobhana Suara
Shobhana Suara answered on May 11, 2023 2:20 PM

Thank You but i am already aware of  hideRowSelectors property and it is not helping me when using in Hierarichal grid Load on demand.

When we expand Parent ID 1 first time, we call gridCreated($event) method. But if i expand Parent ID 2 where my hideSelectors should be true and again expand Parent ID 1, my hideSelectors property is setting as true which should not be the case. I know this is by design, where we cache the child data. But for my project it is creating a lot of obstacles.

It is disappointing that library has so many limitations.

Update: I have resolved the issue using rowToggle() method.

Requirement: I update Child grid data every 20 secs so i need to update the child grid.

TS:

constructor() {
      this.intervalId = setInterval(() => {
      
          this.getChildDataList(this.parentId);
          this.rowIsland.onGridCreated.subscribe(e => {
            e.grid.isLoading = true;
            e.grid.data = this.bogieList;
            e.grid.isLoading = false;
          });
          this.grid1.cdr.detectChanges();
        }
      }, 20000);
}

Can you help me to update the Child grid every 20 secs?

0
Shobhana Suara
Shobhana Suara answered on Dec 20, 2022 6:26 AM

This works. Thank you for all the help!! Appreciate it.

0
Shobhana Suara
Shobhana Suara answered on Dec 12, 2022 1:01 PM

Hello Georgi,

I am using Infragistics 9.1.16 version.

I am trying to trigger the filtering event in Igx-data grid. I tried with both ways to trigger event i.e. onfilteringdone event and filtering event mentioned as above.

But i am not getting anything on console.

I am trying to enable/disable the delete button based on filtered data.

0
Shobhana Suara
Shobhana Suara answered on Dec 12, 2022 8:32 AM

Hello Georgi,

Thank you for quick response.

To be precise, we are using Ignite 9.1.16 version and when tried onFilteringDone event, it is still not triggering.

<igx-grid #grid1 [filterMode]="'excelStyleFilter'" width="100%" height="600px" [paging]="false"

                [allowFiltering]="true" (onFilteringDone)="filteringDone($event)">

please let me know if i am missing here something.