This is a migrated thread and some comments may be shown as answers.

Grid filter value resulting in no rows removes horizontal scroll bar

4 Answers 546 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Doug
Top achievements
Rank 1
Iron
Iron
Veteran
Doug asked on 23 Mar 2021, 06:51 PM
If you have a filterable grid whose width is limited, and you have a lot of columns, the horizontal scroll bar shows up correctly. If you scroll to the right and enter a value in a column filter which results in no rows being displayed, the grid scrolls back to the left, displaying the first column again and hiding the filtered column, and the scroll bar disappears so you can't get back to the column with the filter so you're stuck. You can't get back to the filtered column to remove the filter. Any way to avoid this?

4 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 24 Mar 2021, 05:45 PM

Hello Doug,

You can Follow the fix for this here: https://feedback.telerik.com/blazor/1451961-grid-horizontal-scroll-is-disabled-when-no-data-items-are-rendered. The thread offers a couple of workarounds you can consider as well.

 

Regards,
Marin Bratanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

0
Doug
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 24 Mar 2021, 05:56 PM
Thanks Marin. I keep forgetting to check the feedback portal in addition to the forum.
0
Claudio
Top achievements
Rank 2
Bronze
Bronze
Iron
answered on 19 Jun 2023, 01:17 PM

Hi, i have an related issue, i added a comment on

https://feedback.telerik.com/blazor/1451961-grid-horizontal-scroll-is-disabled-when-no-data-items-are-rendered

 

I have a grid with horizontal scroll, row filter, and invisible no data template as requirement.

If i filter a column with the scrollbar shifted and the result produce at least one row, i show correcly the result

Now, if i change the filter obtaining no row result the grid is correcly empty and horizontal scrollbar disappear

Now, if i restore the previous filter, obtaining at least one row, the result is correct, but horizontal scrollbar is positioned at start position, and column data does not match column filters

In the link on feedbackportal i added some pictures to better explain the issue.

How to solve?

Thanks

0
Nadezhda Tacheva
Telerik team
answered on 22 Jun 2023, 08:32 AM

Hello Claudio,

I am testing the scenario but I am not able to reproduce such a behavior. You can check it yourself here: https://blazorrepl.telerik.com/QxuKcGai270IFMd716.

My advice will be similar to what my colleague shared in the feedback portal item. You can open a dedicated ticket where you can share a runnable sample that reproduces the issue you are hitting. You may also use the sample I shared as a base and modify it as needed to reproduce the behavior.

This will allow us to revise the case in detail to try to find the root cause. Thank you in advance!

Regards,
Nadezhda Tacheva
Progress Telerik

As of R2 2023, the default icon type will be SVG instead of Font. See this blogpost for more information.
Tags
Grid
Asked by
Doug
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Marin Bratanov
Telerik team
Doug
Top achievements
Rank 1
Iron
Iron
Veteran
Claudio
Top achievements
Rank 2
Bronze
Bronze
Iron
Nadezhda Tacheva
Telerik team
Share this question
or