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

Pager colspan limits to initial colspan when hiding/showing columns

1 Answer 24 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Arun
Top achievements
Rank 1
Arun asked on 04 Sep 2019, 03:26 AM

     Hi, I am showing and hiding columns and the pager colspan seems to be stagnant i.e., it doesnt expand. Can you please advice?

 

https://stackblitz.com/edit/react-jb3drk-trrrin?file=app/ReuseGrid.jsx

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 04 Sep 2019, 07:48 AM

Hello, Arun,

In general, dynamically adding and removing columns should not cause any issue with the pager.

We have an example of dynamically adding and removing column which also has a pager and it is working as expected:

https://stackblitz.com/edit/react-gyd6rx?file=app/main.jsx

As the provided example as nearly 1000 line of custom code, it is hard to determine which part can be causing this.

My assumption is that it is connected with the Grid width, as I noticed that where there are multiple columns the last columns are outside of the Grid. This can occur if the Grid has fixed width and the scrolling is disabled.

If you share more details about the code and which part is responsible for that I will be happy to inspect it further.

Regards,
Stefan
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Arun
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or