Frozen column is not working for grid if navigate the grid controls using tab button of Keyboard.
Following approach i have used in my application.
Grid columns are mostly GridTemplateColumn type. In that template i am using only ItemTemplate for textboxes controls so that user can navigate grid only using tab to make data entry faster. There are large number of columns(Avg 15 columns) and rows(avg 25 rows) to grid. I need to freeze the first 3 columns of grid . I have set
<Scrolling AllowScroll="true" FrozenColumnsCount="3" UseStaticHeaders="True" SaveScrollPosition="True">.
When i am navigating grid using horizontal scrollbar then freeze columns are working but when i am navigating the grid textbox controls using tab, freeze columns are not working.
Please suggest any working solution to solve this problem.
Sample code for grid columns:
Following approach i have used in my application.
Grid columns are mostly GridTemplateColumn type. In that template i am using only ItemTemplate for textboxes controls so that user can navigate grid only using tab to make data entry faster. There are large number of columns(Avg 15 columns) and rows(avg 25 rows) to grid. I need to freeze the first 3 columns of grid . I have set
<Scrolling AllowScroll="true" FrozenColumnsCount="3" UseStaticHeaders="True" SaveScrollPosition="True">.
When i am navigating grid using horizontal scrollbar then freeze columns are working but when i am navigating the grid textbox controls using tab, freeze columns are not working.
Please suggest any working solution to solve this problem.
Sample code for grid columns:
<
telerik:GridTemplateColumn
HeaderText
=
"Qty/Bundle"
HeaderStyle-CssClass
=
"gridHeadStyle-5"
ItemStyle-HorizontalAlign
=
"Right"
>
<
ItemTemplate
>
<
telerik:RadTextBox
ID
=
"QTY"
Width
=
"95%"
CssClass
=
"textbox-amount"
Text='<%#Eval("QnttyPerBundle", "{0:N3}")%>'
runat="server" MaxLength="16" onclick="this.select()" AutoPostBack="false" OnTextChanged="txtInvceDetails_TextChanged" />
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
8 Answers, 1 is accepted
0

Shinu
Top achievements
Rank 2
answered on 06 Dec 2011, 09:43 AM
Hello Sarang,
Check the following forum thread which discussed similar scenario.
For frozen column tab key does not work after last tab
-Shinu.
Check the following forum thread which discussed similar scenario.
For frozen column tab key does not work after last tab
-Shinu.
0

Sarang
Top achievements
Rank 1
answered on 06 Dec 2011, 11:35 AM
Thank you shinu for your replay....
But is this problem not yet solved after 3 long years...
Is there any other approach or solution to solve such problem so that we can increase data entry of end application user.
-Sarang.
But is this problem not yet solved after 3 long years...
Is there any other approach or solution to solve such problem so that we can increase data entry of end application user.
-Sarang.
0
Hello Sarang,
If you enable the FrozenColumn option of RadGrid, tabbing between the textboxes in an inline edit form is not supported out-of-the-box, because as you observed the frozen columns will be scrolled together with the non-frozen. In such scenarios, this functionality can be achieved if you subscribe to the textboxes' focus events and scroll a specific <div> with a custom Javascript code. This <div> has a client ID of "..._Frozen" where "..." is the RadGrid client ID. When doing this, you should take into account the current scroll position, and the width of the column that should be hidden/shown.
All the best,
Andrey
the Telerik team
If you enable the FrozenColumn option of RadGrid, tabbing between the textboxes in an inline edit form is not supported out-of-the-box, because as you observed the frozen columns will be scrolled together with the non-frozen. In such scenarios, this functionality can be achieved if you subscribe to the textboxes' focus events and scroll a specific <div> with a custom Javascript code. This <div> has a client ID of "..._Frozen" where "..." is the RadGrid client ID. When doing this, you should take into account the current scroll position, and the width of the column that should be hidden/shown.
All the best,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0

Charles
Top achievements
Rank 1
answered on 02 Jul 2013, 01:08 PM
Since this appears to be a major flaw with frozen columns, and since it appears to affect many users, seems like Telerik would post an example of how to do this... just saying.
0
Hello,
Thank you for your suggestions.
We will consider making a KB article which describes the possibilities and the steps for achieving this goal. You could check regularly the KB section of RadGrid for any new articles.
Regards,
Andrey
Telerik
Thank you for your suggestions.
We will consider making a KB article which describes the possibilities and the steps for achieving this goal. You could check regularly the KB section of RadGrid for any new articles.
Regards,
Andrey
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0

Joe
Top achievements
Rank 1
answered on 06 Feb 2014, 04:58 PM
Has this issue been addressed any further? The FrozenColumnCount is throwing a lot of problems our way and this JavaScript workaround for scrolling the specific RadGrid_Frozen.ClientID Div does not work.
Thanks,
Joe
Thanks,
Joe
0
Hello Joe,
We have made different optimization that can effect the frozen columns functionality. therefore I would suggest you to open a separate thread that describes the exact issue you have in your specific scenario so that we could further research on it and provide more information.
Regards,
Maria Ilieva
Telerik
We have made different optimization that can effect the frozen columns functionality. therefore I would suggest you to open a separate thread that describes the exact issue you have in your specific scenario so that we could further research on it and provide more information.
Regards,
Maria Ilieva
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
0

Joe
Top achievements
Rank 1
answered on 13 Feb 2014, 04:49 PM
I started another thread as well with no responses as of yet. I've seen several Telerik admin techs refer to a JS workaround that includes scrolling the specified RadGrid_Frozen.ClientID div which does not seem to work at all. Have you guys provided an example anywhere or at least provided any more guidance on other solutions?
Thanks,
Thanks,