devextreme

Protractor - How to locate element by custom (non HTML) tags?

老子叫甜甜 提交于 2019-12-13 21:24:20
问题 Recently I was using protractor to automate the Application developed using HTML 5 , angular 2 , java-script. I was able to automate it without any issues. But recently developers have changed the controls to DevExtreme HTML JS. After that the tags are changed (For example dx-text box , dx-tool-tip which are non HTML). So I am not able to automate now using protractor. I have tried all the possible combinations but it is not working. So can anyone please help me out, whether protractor

Application can open .mdf with no log file but Management Studio can not attach

非 Y 不嫁゛ 提交于 2019-12-13 01:41:43
问题 I installed the DevExpress demo C:\Users\Public\Documents\DevExpress Demos 15.2\DevExtreme\DXHotels The demo came with HotelDB.mdf in the App_Data folder. Out of curiosity I attempted to open the HotelDB.mdf by attempting to attach it using SQL Server 2012 Express Management Studio However I got an error about a missing log file when I did this. When I ran the application from the solution the log file created and I was able to subsequently attach using SQL Server. Why was the application

Angular 2 dev extreme dx-date-box validation of required field

拥有回忆 提交于 2019-12-12 04:31:14
问题 I'm trying to use dx-date-box for date inputs but I can't make it validate required values on my form: <dx-date-box placeholder="Request Date" required="true" formControlName="request_date" type="date" validationMessageMode="always" invalidDateMessage="{{VALIDATION.DATE_INVALID}}"> </dx-date-box> Invalid date validation is working and it shows the message, but it wont to validate required value and doesn't show required error. I'm not sure how to achieve that behaviour. 回答1: I found this code

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=

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 ==

Javascript Error $(…).dxChart is not a function

馋奶兔 提交于 2019-12-10 11:33:52
问题 I'm trying to display a dxChart with jQuery binding in an ASP.NET MVC project (with DevExpress). So I included the necessary scripts in the rootLayout: <script src="@Url.Content("~/Scripts/jquery-1.10.2.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery

Set value of observable in asynchronous function

邮差的信 提交于 2019-12-08 05:13:16
问题 I'm using DevExtreme and knockout. I want to fetch JSON-Data from a server and save it into an observable. Current approach: var dataArray = ko.observableArray(); var dataId = ko.observable(""); MyApp.overview = function (params) { "use strict"; var viewModel = { [...] } return viewModel; }; function getDataFromJson() { $.ajax({ url: 'http://localhost:56253/test/3?format=json', dataType: 'json', success: function (data) { var entries = $.map(data, function (item) { return new entry(item) });

ng2 - DevExtreme vs Telerik Kendo UI [closed]

血红的双手。 提交于 2019-12-07 17:37:03
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed last year . We are starting a new software using Angular2, typescript and HTML5. We have 2 options for UI components: - DevExtreme - Telerik Kendo UI Which one is better? Thanks 回答1: We faced the same question, or almost the same: KendoUI, DevExtreme or IgniteUI for a new application where

Javascript Error $(…).dxChart is not a function

烂漫一生 提交于 2019-12-07 06:58:43
I'm trying to display a dxChart with jQuery binding in an ASP.NET MVC project (with DevExpress). So I included the necessary scripts in the rootLayout: <script src="@Url.Content("~/Scripts/jquery-1.10.2.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/bootstrap

dxDataGrid - How to refresh the widget

二次信任 提交于 2019-12-06 04:59:05
When ı clicked button, not working refresh.If the purpose is to add to the database buton button press to come to the screen. But is not updating. I created a datagrid with ajax. I also wrote the refresh function in ViewModel.What may be the reason for not renewing. My data is json. $.ajax({ type: "GET", url: "https://js.devexpress.com/Demos/WidgetsGallery/data/orderItems" success: function (msg, result, status, xhr) { var obj = jQuery.parseJSON(msg); $("#gridContainer").dxDataGrid({ dataSource: obj, filterRow: { visible: true}});}}); var viewModel = { refresh: function () { var dataGrid = $('