devexpress

Does Devexpress GridControl for win forms support paging?

穿精又带淫゛_ 提交于 2020-02-03 05:48:05
问题 Does Devexpress GridControl for win forms support paging? If yes, how does it work? How can i use paging to show some data in a grid control? Any example would be appreciated 回答1: It doesn't support paging, per se, it loads the records as needed when running in servermode if I remember correctly. 回答2: I dont actually think the WinForms version of the grid does support paging. The ASP.NET version of the grid does support it - I've been using it a lot lately. Someone has asked the question on

DevExpress GridControl使用方法

寵の児 提交于 2020-02-03 04:38:50
一、如何解决单击记录整行选中的问题 View->OptionsBehavior->EditorShowMode 设置为:Click 二、如何新增一条记录 (1)、gridView.AddNewRow() (2)、实现gridView_InitNewRow事件 三、如何解决GridControl记录能获取而没有显示出来的问题 gridView.populateColumns(); 四、如何让行只能选择而不能编辑(或编辑某一单元格) (1)、View->OptionsBehavior->EditorShowMode 设置为:Click (2)、View->OptionsBehavior->Editable 设置为:false 五、如何禁用GridControl中单击列弹出右键菜单 设置Run Design->OptionsMenu->EnableColumnMenu 设置为:false 六、如何隐藏GridControl的GroupPanel表头 设置Run Design->OptionsView->ShowGroupPanel 设置为:false 七、如何禁用GridControl中列头的过滤器 过滤器如下图所示: DevExpress GridControl使用方法总结 设置 Run Design->OptionsCustomization->AllowFilter 设置为

DevExpress学习之Gridcontrol

China☆狼群 提交于 2020-02-03 04:34:17
最近学习DevExpress的控件,写了几个方法拿来分享,希望大家能用的上: using System; using System.Collections; using System.Drawing; using System.Collections.Generic; using System.Text; using System.Data; using System.Windows.Forms; using DevExpress; using DevExpress.XtraGrid; using DevExpress.XtraGrid.Columns; using DevExpress.XtraGrid.Views; using DevExpress.XtraGrid.Views.Grid; using DevExpress.XtraGrid.Views.Card; using DevExpress.XtraGrid.Views.BandedGrid; namespace MyDev { public class DevGridView { #region Members private DevExpress.XtraGrid.GridControl gridControl; #endregion #region Construct /// <summary> /// /// <

DevExpress问题积累:DocumentManager问题

只谈情不闲聊 提交于 2020-01-29 09:05:51
DevExpress 版本:14.2 目的:创建可拖拽的控件浏览视图 过程: 1、创建DocumentManager控件:DevExpress.XtraBars.Docking2010.DocumentManager DmUvw; 2、创建在DocumentManager控件中加入WidgetView:DevExpress.XtraBars.Docking2010.Views.Widget.WidgetView widgetView1; 3、通过代码动态添加Document /// <summary> /// 添加Document /// </summary> /// <param name="doName"></param> public void AddDocument(string doName) { Document bd = new Document(); bd.Caption = doName; DmUvw.View.Documents.Add(bd); } 事件:其中UcTemp是自定义控件 DmUvw.View.QueryControl += View_QueryControl; private void View_QueryControl(object sender, QueryControlEventArgs e) { string tempVmeName =

GridView devexpress ESC to cancel editing

风流意气都作罢 提交于 2020-01-25 00:11:47
问题 How can I get behaviour that while editing cell if user hits escape then editing should be canceled and previous value set ? thanks for help 回答1: you need to override GridView.hideEditor method, please see this for more and here too. same can be done by writing code also. 来源: https://stackoverflow.com/questions/5204895/gridview-devexpress-esc-to-cancel-editing

Report Design Templates

旧城冷巷雨未停 提交于 2020-01-24 20:52:25
问题 We are using DevExpress XtraReports 2009v3.3 and although I can achieve what I want through various formatting objects in code, there must be a (better/less painless/maintainable/visual) way of achieving what I require... I need to produce a report, designed to end-user 'look & feel'. We have many companies which use our software and they all require different design schema's/templates for their reports. For example - a single report, depending on who logs on (we know what company they belong

Dynamically set devexpress report parameter

邮差的信 提交于 2020-01-21 10:24:00
问题 I am new to devexpress reports. I know how to set the data for my report e.g. I got the following codes. I can populate and generate my report. The issue in the parameter design I can assign data source, data member, data display. But I dont know to populate the parameters dynamically say on load of the report? public report1() { InitializeComponent(); rpt2 rp2 = new rpt2(); rp2.DataSourceDemanded += rp2_DataSourceDemanded; pre1.DocumentSource = rp2; } void rp2_DataSourceDemanded(object

VS2015安装DevExpress和Cskin

耗尽温柔 提交于 2020-01-20 10:42:51
一、安装DevExpress 下载链接: 别人的: https://pan.baidu.com/s/1smeXRWkUpb–VA0XjsM4tQ -首先给大家介绍一下DevExpress安装包内容 【DevExpressUniversalTrialComplete】是程序安装包,双击该安装包就可以安装DevExpress; 【DevExpress.Patch 7.0-by dimaster】用来破解EevExpress; 【Dev破解后去除提示框】用来去掉DevExpress在运行时的试用提示信息 二、安装CSkin 1.在新建的选项卡上右键,选择项。 2.浏览,选中要添加的CSkin.dll。 注意:工具箱CSkin.dll版本要和项目引用的dll版本相同,否则会冲突。 3.找到CSkin.dll。选中确定。 4.查看是否加载控件完毕,继续确定。 5.到这里CSkin的控件就成功加入到工具箱了,拖控件使用即可。 提示: 如果以上操作后还是无法添加,呢么在工具箱 - 右键 - 添加选项卡 - 命名CSkin - 然后将CSkin.dll拖进 选项卡 即可。 别忘了建选择卡,以免混乱 来源: https://www.cnblogs.com/tuxer/p/12216635.html

Why CheckEdit event doesn't fire on first attempt of checked item in GridControl in WPF?

旧时模样 提交于 2020-01-17 07:44:07
问题 I have a CheckBox in DataTemplate in Devexpress of GridControl. Which is binded to boolean field of Grid. I am adding the Checked Item (selected Row ID) in Custom List. And on UnChecked of Checkbox removing the item from Custom List . and finally on button click i am inserting the records on button click. Issue: When i open form first time select an item using CheckBox the Checked event of CheckBox doesn't fire but property change event fires. and on clicking INSERT button it says no item

Textbox only displays content when the row is in edit mode

痴心易碎 提交于 2020-01-17 03:38:27
问题 I have done every thing I can think of, but the textbox just does not display the values. Where is my mistake? <dxg:GridColumn FieldName="secUserName" Header="TRAIL"> <dxg:GridColumn.DisplayTemplate> <ControlTemplate> <StackPanel> <TextBox Text="{Binding Path=Data.secUserName, Mode=TwoWay}" ></TextBox> </StackPanel> </ControlTemplate> </dxg:GridColumn.DisplayTemplate> and in vb '<!-- load the datagrid --> Module1._Context.Load(Module1._Context.GetGESECsQuery()) GridControl1