igniteui-angular icon indicating copy to clipboard operation
igniteui-angular copied to clipboard

Remove reflow grid invocation from some setters into the grid component

Open Aleksandyr opened this issue 8 years ago • 3 comments

Description

Do we really need the invocation of calculateGridSizes from every setter pointed below?

if (this._ngAfterViewInitPaassed) {
   this.calculateGridSizes();
}

setters:

  1. toolbarTitle
  2. exportExcel
  3. exportCsv
  4. exportText
  5. exportExcelText
  6. exportCsvText

Aleksandyr avatar Jul 06 '18 11:07 Aleksandyr

@rmkrmk Could you please brief us about the question above?

Aleksandyr avatar Jan 10 '19 08:01 Aleksandyr

I think these invocations are no longer necessary. Initially when we created the toolbar it was able to be shown/hidden using any of these setters. Later we changed the implementation and now only "showToolbar" is able to change its visibility. You can remove the above invocations from the above mentioned setters.

rmkrmk avatar Jan 11 '19 07:01 rmkrmk

@Aleksandyr should we close this question now as it seems answered ?

SlavUI avatar Apr 02 '19 08:04 SlavUI