devextreme

Push notifications with FCM on DevExtreme/Phonegap

走远了吗. 提交于 2019-12-31 03:57:31
问题 I developed my app with DevExtreme, a multiplatform tool based on PhoneGap. Now, I'm trying to use the to phonegap-plugin-push manage push notifications. My first, simple, goal is to send&receive some notifcations from FCM (Firebase Cloud Messaging). I prefer to start with Android, so, I set my Android app on FCM. Here, I took the sender ID. Following the docs, I modified the config.xml as below: <widget id="com.devexpress.apptemplate" version="1.0" versionCode="1"> <name>ApplicationTemplate<

Self referencing loop from Newtonsoft JsonSerializer using Entity Framework Core

大城市里の小女人 提交于 2019-12-28 07:07:11
问题 I've encountered the error: JsonSerializationException: Self referencing loop detected for property 'Subject' with type 'Project.Models.Subject'. Path 'data[0].Totals'. It occurs when I load a View with a dataGrid populated by an IEnumerable<Subject> model. The Grid is a DevExtreme DataGrid bound to the View's model like this: @(Html.DevExtreme().DataGrid() .DataSource(Model) .Paging(paging => { paging.Enabled(true); paging.PageIndex(0); paging.PageSize(20); }) .Columns(columns => { columns

How can I exclude one html view in whole project to be applied from CSS?

我怕爱的太早我们不能终老 提交于 2019-12-25 15:31:37
问题 I am working on Cross Platform application on DevExtreme. It includes 8-10 number of CSS files to be applied on my project for all the html views. CSS are having so many background-color:,background: properties set according to the theme(ios platform/android/win8 etc), which creates different layers in application html views. But I want to create a html view in my project to be excluded from all these CSS and to make its background as TRANSPARENT. How can I exclude one html view among many,

How can I exclude one html view in whole project to be applied from CSS?

ⅰ亾dé卋堺 提交于 2019-12-25 15:30:21
问题 I am working on Cross Platform application on DevExtreme. It includes 8-10 number of CSS files to be applied on my project for all the html views. CSS are having so many background-color:,background: properties set according to the theme(ios platform/android/win8 etc), which creates different layers in application html views. But I want to create a html view in my project to be excluded from all these CSS and to make its background as TRANSPARENT. How can I exclude one html view among many,

How can I make Text dynamic in dxlist

你说的曾经没有我的故事 提交于 2019-12-25 06:07:11
问题 I am using devextreme dxlist with ajax. I want to use dxlist text dynamically. So text should not be fixed constantly. I can make dynamic using the variable text with ajax, but how to use the js variable in html. I have codes below. How can I make Text dynamic? Html code <div data-bind="dxList: { dataSource: dataSource,pullRefreshEnabled:true}"> <div data-options="dxTemplate : { name: 'item' } "> <div data-bind="**text: UserName"**></div></div></div>//This text is dynamic 回答1: As far as I

angular7 with devextreme in visual studio 2017 not working

流过昼夜 提交于 2019-12-25 00:22:08
问题 I have setup angular project in vs2017 with angular cli template. Now i want to use devextreme with angular, so according to official documentation i have installed npm install --save devextreme devextreme-angular . But i have got erroe not installed in npm dependencies like below image: so how to solve this. i have tried to restore packages, but it not works. 来源: https://stackoverflow.com/questions/54630743/angular7-with-devextreme-in-visual-studio-2017-not-working

DevExtreme load JSON as datasource using knockout

╄→尐↘猪︶ㄣ 提交于 2019-12-24 08:38:56
问题 I'm new to both javascript and devextreme and currently finding my way through. I created a webpage which loads a json-file, which worked well, but I can't get it done using devextreme. I have a dxDataGrid which I want to contain the data. Using a .js-file, that data is also displayed correct. My json-file is this: { "user": [ { "id": 0, "name": "user0", "mail": "user0@example.com", "address": "examplestreet 0", "zip": "12345", "city": "examplecity", "country": "examplecountry", "dayOfBirth":

dxTooltip not working in IE, working in Chrome

女生的网名这么多〃 提交于 2019-12-23 02:28:05
问题 I have got a dxChart : var chart = $("#chartContainer4").dxChart(); of which I’m taking the legend rectangles: var PayerLegendBoxes = $("#chartContainer4 .dxc-legend g rect"); And using dxTooltip for showing on mouse hover. PayerLegendBoxes.each(function () { var nextElementHTML = this.nextSibling.innerHTML; var currElementTip = nextElementHTML + "tip"; var currElement = this; var title = chart.append("<span style='display:none;' id=" + currElementTip + ">" + nextElementHTML + "</span>"); var

dxDataGrid - How to refresh the widget

偶尔善良 提交于 2019-12-22 12:17:16
问题 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({

Mixed line-style of same line in DevExtreme chart

若如初见. 提交于 2019-12-19 10:47:32
问题 Hi I'm working for the first time with the charts of the DevExtreme Framework, because I'm searching for a good chart plugin for my web-application, which can solve some of my special requirements. At the moment my chart looks like this (I can't put it in a fiddle or in the stackoverflow snippet, because there I got an error, when a put an external library for globalize/chartjs.js so I copied into the question): HTML: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>DevExtreme