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

ColumnsReorder not working with KeyboardNavigation

3 Answers 61 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Eugen
Top achievements
Rank 1
Eugen asked on 03 Oct 2012, 02:14 AM
My RadGrid (Version 2012.2.912.40):

<asp:UpdatePanel ID="InterfacePanel" UpdateMode="Conditional" runat="server">
<ContentTemplate>
 <telerik:RadGrid ID="InterfaceGrid" BackColor="White" Skin="Vista" AutoGenerateColumns="false" AllowSorting="true" runat="server">
    <ClientSettings AllowColumnsReorder="true" ReorderColumnsOnClient="true" ColumnsReorderMethod="Reorder" AllowKeyboardNavigation="True" />
    <MasterTableView HierarchyDefaultExpanded="true" EnableColumnsViewState="false" EditMode="InPlace" BorderColor="#ededed" GridLines="Both" CommandItemDisplay="Top" InsertItemDisplay="Bottom">
 <HeaderStyle HorizontalAlign="Left" />
  <EditFormSettings>
     <EditColumn ButtonType="ImageButton" />
 </EditFormSettings>
    </MasterTableView>
    <ValidationSettings EnableValidation="true" CommandsToValidate="PerformInsert,Update" />
    <ItemStyle Wrap="false" />
    <ActiveItemStyle Wrap="false" />
 </telerik:RadGrid>
</ContentTemplate>
</asp:UpdatePanel>

3 Answers, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 05 Oct 2012, 01:49 PM
Hi Eugen,

There is no such build in functionality in RadGrid. What I can suggest you is to take a look at this demo where it is shown how to swap columns on client side. Also you could check this help topic where is described how you can specify a function that will be called client-side, when a key is pressed in RadGrid.
Additionally you could check out this article where a list of the current supported keyboard navigation features is available. 

Regards,
Kostadin
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
Eugen
Top achievements
Rank 1
answered on 08 Oct 2012, 10:07 AM
This is not what I mean.

I mean if you activate KeyboardNavigation (AllowKeyboardNavigation="True") and ColumnReordering (AllowColumnsReorder="true" ReorderColumnsOnClient="true" ColumnsReorderMethod="Reorder")  that causing a fault while you on reordering the columns with a mouse. Just test the markup that I have posted.

0
Kostadin
Telerik team
answered on 09 Oct 2012, 04:16 PM
Hello Eugen,

I am logging this as a bug in our tracking system and our developers will look into it. In the meantime, you can work around it by setting AllowRowSelection to true and setting CellSelectionMode to SingleCell in the ClientSeting. See the example bellow:
<ClientSettings AllowColumnsReorder="true" ReorderColumnsOnClient="true" ColumnsReorderMethod="Reorder"
            AllowKeyboardNavigation="true">
            <Selecting AllowRowSelect="true" CellSelectionMode="SingleCell" />
        </ClientSettings>

You can track the progress in our PITS.

Regards,
Kostadin
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.
Tags
Grid
Asked by
Eugen
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Eugen
Top achievements
Rank 1
Share this question
or