loadedRows event is fired after pressing 'delete' or 'backspace' keys

Posted by: nirwei on 14 November 2020, 10:35 pm EST

    • Post Options:
    • Link

    Posted 14 November 2020, 10:35 pm EST

    Hi,

    I’m using flexgrid 5.20202.699 on angular 9, on a hierarchical collection of 2 levels.

    I’ve now discovered, after much trouble, that the 'loadedRows ’ event is being called after every ‘Delete’ or ‘BackSpace’ keypress in the grid.

    is this intentional? is this configurable in any way?

    here’s my grid html:

    
    <wj-flex-grid
        #flex
        [anchorCursor]="true"
        [childItemsPath]="['opportunities', 'products']"
        [itemsSource]="dataSource"
        (loadedRows)="onLoadedRows(flex, $event)"
        (initialized)="initializeGrid(flex, this)"
        (beginningEdit)="onBeginningEdit(flex, $event)"
        (cellEditEnding)="onCellEditEnding(flex, $event)"
        (formatItem)="onFormatGridItem(flex, $event)"
        [autoGenerateColumns]="false"
        [frozenColumns]="1"
        [frozenRows]="2"
        [headersVisibility]="'Column'"
        style="height: 90vh"
        [allowResizing]="'Columns'"
      >
      </wj-flex-grid>
    
    

    and the attaching of the rellevant event handler:

    
      onLoadedRows(flexGrid: FlexGrid, e: CancelEventArgs) {
        this.gridConfigService.onLoadedRows(flexGrid, e, this.gridCollapseLevel);
      }
    
    

    Thanks!

  • Posted 17 November 2020, 2:15 am EST

    Hi Nir,

    We are able to replicate the issue using the 5.20202.699 version but it is fixed in the latest release 5.20203.748. Please update to the latest build and let us know if the issue persists for you.

    Regards

  • Posted 17 November 2020, 7:55 pm EST

    updating has resolved the issue, thank you for your help.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels