Declined
Last Updated: 31 Aug 2023 15:49 by ADMIN
Created by: n/a
Comments: 2
Category: Grid
Type: Bug Report
0

Given: a kendo grid with resize enabled.

And: the input locked on kendo-grid-colum  is undefined (by ex. due the component class property not initialized)

When: the user double click on the column resize handler 

Actual: the column width is set to 0

Expected: the colum  autofit behaviour remain consistent and set the column width as usual.

Declined
Last Updated: 31 Aug 2023 15:08 by ADMIN

There is a bug with the kendoGridGroupBinding directive when changing the input data and using virtual scrolling.  If you have many rows and scroll down to a lower virtual page and then change the input data to a small subset the grid will think there is no data.  And if you then change back to the full data set you have to start scrolling down before the grid repaints with data.  

Reproduction available here https://tyb2ys--run.stackblitz.io

Steps:

1. scroll down halfway in the grid

2. click the "Show subset" button.  Note the grid shows the no records message but should show three rows

3. click the "Show all" button.  Now the grid shows the scrollbar and the no records message is gone but it is not showing data.  You have to scroll down past where you previously were with all data before it repaints the rows

One workaround is to have an ngIf on the grid to destroy and recreate the grid when the input data changes, something like this:

 

  private destroyAndRecreateGrid(): void {
    this.showGrid$.next(false);
    of(null).pipe(
      take(1),
      delay(10),
      tap(t => {
        this.showGrid$.next(true);
      }
    )).subscribe();
  }

 

Declined
Last Updated: 05 May 2023 13:47 by ADMIN

Previously igrid 5.0.0 introduced sortable column headers and their contents being wrapped in spans with inner cell and link classes

<span class="k-cell-inner">
       <span class="k-link>......

now after upgrading to 11.2.0 it looks like ALL column headers get this additional element nesting even if they aren't sortable which is greatly affecting how column headers display since .k-link has a display: flex value.  As well as many other styles.

Before

After

There are also "link" like styles applied to any and every column even if it doesn't sort giving the false impression that a column header is clickable.

This can be seen from kendo's own stackblitz for the grid https://stackblitz.com/edit/angular-lyxxa7?file=src%2Fapp%2Fapp.component.ts where if you inspect the header elements you'll see they've been wrapped in the sortable span elements. If this is intentional to wrap all column headers in we'll just have to work around it but we're curious if applying the sortable styling to ALL column headers was done on purpose or a bug.

Declined
Last Updated: 27 Apr 2023 06:42 by ADMIN

https://stackblitz.com/edit/angular-4bbepg?file=src%2Fapp%2Fapp.component.ts

@Component({
    selector: 'my-app',
    template: `
            <button class="btn btn-primary mb-3" (click)="toggleSort()">toggle sort</button>
            <kendo-grid
                [kendoGridBinding]="gridData"
                [filterable]="'menu'"
                [sortable]="true"
                [sort]="sort"
                [height]="400"
                [style.width.px]="400">
                <kendo-grid-column field="CompanyName"></kendo-grid-column>
            </kendo-grid>
        `
})
export class AppComponent {
    public gridDataCustomer[] = customers;
    sortSortDescriptor[];
    toggleSort() {
      this.sort = this.sort ? undefined : [{
        field: 'CompanyName',
        dir: 'desc'
      }]
    }
}

 

The sort indicator (down arrow) remains after removing the sort (setting the [sort] input to undefined)

Thanks,

-Adam

 

Declined
Last Updated: 25 Jul 2022 10:42 by ADMIN
Created by: Simon
Comments: 1
Category: Grid
Type: Bug Report
0

I have being trying to implement the multiple row selection function but am unable to get multiple rows selected at once, even though I have multiple selected mode enabled,Is it possible to archieve this in Kendo ui grid in Angular?

 

Please see my function bellow. event=1 row always even though I select more one row.

<kendo-grid (selectionChange)="getGridSelectedRows($event)"></kendo-grid>

 

public getGridSelectedRows(event) {    
   

if (event.length>0) {

 

     }
       
  }
Declined
Last Updated: 17 Mar 2022 12:58 by ADMIN
Hello,

I'm facing an issue where having locked columns in my grid makes the UI performance bad:
1. The page takes more time to stabilize than when not having the columns locked.
2. The scrolling lags.

I'm using (locked) property for columns, and the issue happens regardless of the grid content or number of locked columns.

Please advise or fix accordingly.

Regards,
Ban
Declined
Last Updated: 13 Aug 2021 11:52 by ADMIN

Essentially the most basic GridComponent when ngIf'd in and out will not be collected -- apparently because of orientation change / resize change listeners not being appropriately removed.

Steps to Reproduce

Click the TOGGLE TABLE button to hide the table

Click the TOGGLE TABLE button to show the table

repeat several times

Take a memory snapshot

There will be HTMLTableRowElement items that grow each iteration of toggling the table.

The HTMLTableRowElements retention shows that they eventually lead to a resize listener, or an orientation change listener.


Declined
Last Updated: 07 Jul 2020 07:22 by ADMIN
Created by: Merlin
Comments: 1
Category: Grid
Type: Bug Report
0

In Version 74.0.3729.108 (official Build) (64-Bit) of chrome, a defined grid with no predefined style property does not scroll properly. 


There is a live-demo on Stackblitz at https://stackblitz.com/edit/angular-b38r7s-jzsgty

 

This is a fork of the demo example from the kendo-angular-ui documentation available at

https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes/virtual/#


In the example, the scrollable grid was defined with a height property. This does not feet to our requirements, as we need a grid component that should flex according to the outside or parent container. 


This problem occured after the update of chrome browser from 73.0.XXX to the version 74.0.3729.108


The problem is fixed when we defined a grid with a height property like [style.height.%] = “100” but according to the documentation the grid should flex automatically without this property.