devexpress

Customize tooltip in dxChart

会有一股神秘感。 提交于 2019-12-11 04:22:31
问题 I'm doing my first steps with dxchart of DevExtreme. At the moment I've got follow code: HTML: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>DevExtreme Chart</title> <!--FRAMEWOKR--> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.2.3/jquery.min.js"></script> <script src="./lib/globalize.min.js"></script> <script src="./lib/dx.charts.js"></script> <!--JS--> <script type="text/javascript" src="chart.js"></script> </head> <body> <div id=

Add character counter to MemoExEdit control

蹲街弑〆低调 提交于 2019-12-11 04:17:20
问题 I am trying to make a character counter, 40/200...41/200 and so on. Now for a textbox control I am hooking into the KeyUp Event with something like this... public static void GetRemainingChars(MyTextBox txt, LabelControl lbl) { var maxChars = txt.Properties.MaxLength; lbl.Text = txt.Text.Length + "/" + maxChars; } Unfortunately the MemoExEdit control has a popup window you type the text into and that seems to be hidden. I tried the KeyUp , EditValueChanging , TextChanged , and they all do the

cxDateNavigator1 set weekend days text color in red

风流意气都作罢 提交于 2019-12-11 04:06:00
问题 In TcxDateNavigator , is it possible to mark the weekend (Saturday, Sunday) with a diffrent text color (red)? TMS has this feature implemented but I can't seem to find that in this DevExpress component. 回答1: As for the cxDateNavigator , you can use its OnCustomDrawDayNumber event handler, for instance, as follows: uses DateUtils, cxDateUtils; procedure TForm60.cxDateNavigator1CustomDrawDayNumber(Sender: TObject; ACanvas: TcxCanvas; AViewInfo: TcxSchedulerDateNavigatorDayNumberViewInfo; var

How to save row changes in DevExpress GridView with the EmbeddedNavigator

天大地大妈咪最大 提交于 2019-12-11 03:58:26
问题 I am using the EmbeddedNavigator's Add, Edit and Remove buttons. I have subscribed to the gridControl1_EmbeddedNavigator_ButtonClick event and there I check which button is clicked. The problem is that when I edit a cell and I press save changes( EndEdit ) I don't see the new values. Here is the code that I have: private void gridControl1_EmbeddedNavigator_ButtonClick(object sender, DevExpress.XtraEditors.NavigatorButtonClickEventArgs e) { if (e.Button.ButtonType == DevExpress.XtraEditors

devexpress row deleting event

江枫思渺然 提交于 2019-12-11 03:37:46
问题 Deletebutton doesn't raise OnRowDeleting event i created devexpress gridview on runtime it s working good until click the delete button ,when i click it ,it doesn't work .on debug it doesnt fire "rowdeleting". What can i do? dovizgrd.Width = Unit.Percentage(50); dovizgrd.EnableCallBacks = false; dovizgrd.Settings.ShowFooter = false; dovizgrd.Settings.ShowColumnHeaders = false; dovizgrd.Settings.ShowFilterBar = GridViewStatusBarMode.Hidden; dovizgrd.SettingsPager.Visible = true; dovizgrd

Devexpress grid with unbound column

北城余情 提交于 2019-12-11 02:54:45
问题 I have a DevExpress grid where I would like to add an unbound checkbox to be able to select some of the items. After the selection is made I press a button and I must loop the grid to get all the selected items. It has to be a checkbox. I have tried with a multiselectable grid, but the users can't work with that. I have tried all the samples that I have been able to find on the supportsites, but no luck. I need the unbound approach since it is a multiuser setup and users have been selecting

DevExpress: How do get an instance of a control client-side and access its client-side members?

南楼画角 提交于 2019-12-11 02:29:27
问题 I have a DateEdit control from DexExpress and need to get the date value from it using Javascript. Conceptually, I am looking for something like this: var d = $("dpEndDate").GetDate(); Their API reference indicates that .GetDate() is a member, but I just need to know how to acquire a client-side instance of the object that contains this member. 回答1: It is necessary to specify the ClientInstanceName property (for the ASP.NET WebForms) and the “Name” property (for the ASP.NET MVC) to enable

DevExpress - DevExtreme Chart Label overlapped

半城伤御伤魂 提交于 2019-12-11 01:14:31
问题 I'm using the DevExtreme charts. There's an option resolveLabelOverlapping, when set to shift for piechart will solve my problem, but no shift for bubble chart. Is there any solution to let the contents on the labels visible? Label overlapped bubble chart 回答1: You can try the "customizeLabel" callback function for solving your problem. If you set required "verticalOffset" option for overlapped label you can get the good view for your chart: customizeLabel: function (arg){ if (arg.valueText ==

Is there any way to set a long url string without creating a file?

孤街浪徒 提交于 2019-12-10 23:54:22
问题 I have images in an SQL Server table that I want to display in a Dev Express ASPxImageZoom control. This control has an ImageUrl property of type string. I don't want to create lots of temporary files on my file server. Is there any way I can set the ImageUrl without creating a temporary file ? I am writing a property editor for use in a Dev Express XAF application. It contains the code protected override void ReadViewModeValueCore() { var zoom = (ASPxImageZoom)ZoomControl; // where

Calculate GroupSummary Value programmatically in DevExpress

谁都会走 提交于 2019-12-10 22:24:08
问题 In my code; I calculate 3 GroupSummary value with ASPxGridview ; <dx:ASPxSummaryItem FieldName="RISK_EUR" SummaryType="SUM" ShowInGroupFooterColumn="RISK_EUR" DisplayFormat="n0" /> <dx:ASPxSummaryItem FieldName="IPOTEK" SummaryType="AVERAGE" ShowInGroupFooterColumn="IPOTEK" DisplayFormat="n0" /> <dx:ASPxSummaryItem FieldName="MV_BERND" SummaryType="SUM" ShowInGroupFooterColumn="MV_BERND" DisplayFormat="n0" /> When i grouping , I want calculate another column's GroupSummary value like;