Telerik中的问题:radgrid排序 [英] issue in telerik:radgrid sorting

查看:165
本文介绍了Telerik中的问题:radgrid排序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我对telerik radgrid排序有问题.当我对radgrid列进行排序时,应用程序关闭或注销,下一次登录已排序的列可用.

Hi,
I have a problem with telerik radgrid sorting.when i''m sorting radgrid column then application close or logout and next time login already sorted column is available. how to solve this problem.

推荐答案

我只是认为,在telerik论坛上发布有关第三者控制的此类问题会更​​有用.
此处: TELERIK论坛 [
I just think, posting such issues about a 3rd party control at telerik Forum would be more useful.
Here:TELERIK Forum[^]
Might be someone already discussed it over there! Search before posting.


这是第三方控件.
Telerik为其产品提供支持.
尝试在他们的论坛中发布问题.
This is third party control.
Telerik provide support for their product.
Try posting question in their forum.


我假设您使用某些绑定从数据库中获取数据.我发现的第一件事是排序后可以保存数据.如果您不想通过在True上设置IsReadOnly的网格来编辑任何内容.如果不是这样,我一无所知...我从2个月以来一直与Telerik合作,从未遇到过这样的问题.

这是我在大多数情况下使用的典型GridView属性:

I assume youre getting data from database using some bindings or so. First thing i figured out is the data can be saved after sorting. If you dont want edit anything through grid set IsReadOnly on True. If not i have no clue... I''ve been working with Telerik since 2 months and never had such problem.

Heres my typical set of propeties for GridView wiew i''m using in most of cases:

<wfcGrid:WFGridView CanUserReorderColumns="False" AutoGenerateColumns="False" x:Name="dgDocuments"

                        HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5" SelectionChanged="dgDocuments_SelectionChanged"

                        ShowInsertRow="False" ShowGroupFooters="False" ShowGroupPanel="False" ItemsSource="{Binding Documents}"

                                             RowLoaded="dgDocuments_RowLoaded" RowIndicatorVisibility="Collapsed" CanUserSortColumns="True"

                                            ScrollViewer.HorizontalScrollBarVisibility="Hidden" IsReadOnly="True">



不要介意名称空间.只是从GridView继承而来的自定义控件.



Don''t mind namespaces. It''s just custom control which inerits from GridView.


这篇关于Telerik中的问题:radgrid排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆