Refresh a grid after update frozen columns.

1 Answer 135 Views
Grid
dds
Top achievements
Rank 1
Iron
Iron
dds asked on 26 May 2021, 11:53 AM

Hi there, 

I'm updating the number of the frozen columns of a grid in another modal form, and after I would like to see the changes in the grid after closing the modal form. Which action should I call? 

 

Thanks,

Alvaro.

Doncho
Telerik team
commented on 31 May 2021, 08:30 AM

Normally no additional action is needed to modify the number of frozen columns in RadGrid. It is enough to set the desired count either on the client-side or on the server. - [RadGrid].ClientSettings.Scrolling.FrozenColumnsCount = newCount;
Setting the FrozenColumnsCount of a RadGrid affects the scrolling of the Grid which is entirely client-side functionality hence it should take effect right away, see Frozen Columns

Could you please share some more details on the current case? It would be very helpful if you share the markup declaration of the RadGrid along with the relevant code-behind and JavaScript code so we can have a better understanding and assist you further.

Also, make sure there are no JavaScript errors when testing the page - Troubleshooting JavaScript errors

1 Answer, 1 is accepted

Sort by
0
Accepted
dds
Top achievements
Rank 1
Iron
Iron
answered on 15 Jun 2021, 11:18 AM
I´ve set the Frozen columns in the PreRender event and rebinding after the grid. 
Tags
Grid
Asked by
dds
Top achievements
Rank 1
Iron
Iron
Answers by
dds
Top achievements
Rank 1
Iron
Iron
Share this question
or