Jump to content

Polylog

uniGUI Subscriber
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Polylog's Achievements

Newbie

Newbie (1/4)

1

Reputation

  1. Thanks for the quick and great answer! It works well.
  2. The form is already shown and the person works with the calendar. He do an action who makes something happen server side. we have a calendar X : TUniCalendarPanel; And we want to update the title : X.title := 'New Title'; This does not do anything client side. The question is : What can I do to update the title of a TUniCalendarPanel on client side ? I can make a small demo, if necessary?
  3. Hello, How to update the title property of a TUniCalendarPanel at runtime? I am sure it is easy for people mastering ExtJs. But I still need to learn most of it. Thanks already for the help.
  4. Hello, Is there a way to save the configuration of columns of the TUniDBPivotgrid piloted by the configurator. The problem I have, is when I refresh the datasource (the datas), the pivotgrid calls ConfigMatrix and it uses the configuration initial of the pivotGrid. Instead of the one who is applied client side (by interacting with the configurator). So I thought if I could have a callback (ajax) who will allow me to register the configuration client side to server side. Do you have any ideas how to do that ? Already many thanks for the help. If needed I can make a small project with the demo to illustrate this.
  5. Hello, I am not able to make cascade display of top columns like in sencha extjs demo. Here is the code in the fiddle demo (https://fiddle.sencha.com/#fiddle/343g&view/editor) Ext.define('Fiddle.model.Sale', function () { var regions = { "Belgium": 'Europe', "Netherlands": 'Europe', "United Kingdom": 'Europe', "Canada": 'North America', "United States": 'North America', "Australia": 'Australia' }; return { extend: 'Ext.data.Model', fields: [{ name: 'id', type: 'int' }, { name: 'company', type: 'string' }, { name: 'country', type: 'string' }, { name: 'person', type: 'string' }, { name: 'date', type: 'date', dateFormat: 'c' }, { name: 'value', type: 'float', allowNull: true }, { name: 'quantity', type: 'float', allowNull: true }, { name: 'year', calculate: function (data) { return parseInt(Ext.Date.format(data.date, "Y"), 10); } }, { name: 'month', calculate: function (data) { return parseInt(Ext.Date.format(data.date, "m"), 10) - 1; } }, { name: 'continent', calculate: function (data) { return regions[data.country]; } }] }; }); Ext.define('Fiddle.store.pivot.Sales', { extend: 'Ext.data.Store', alias: 'store.sales', model: 'Fiddle.model.Sale', storeId: 'sale', proxy: { type: 'ajax', limitParam: null, url: 'sales.json', reader: { type: 'json' } }, autoLoad: true }); Ext.define('Fiddle.view.pivot.Grid', { extend: 'Ext.pivot.Grid', xtype: 'pivot-grid', controller: 'pivotgrid', title: 'Pivot Grid', matrix: { store: { type: 'sales' }, aggregate: [{ dataIndex: 'value', header: 'Total', aggregator: 'sum', id: 'agg', }], leftAxis: [{ dataIndex: 'person', header: 'Person' }, { dataIndex: 'year', header: 'Year', filter: { type: 'label', operator: '=', value: 2016 } }], topAxis: [{ dataIndex: 'continent', header: 'Continent', }, { dataIndex: 'country', header: 'Country' }, { dataIndex: 'year', header: 'year' }] } }); Ext.define('Fiddle.view.pivot.GridController', { extend: 'Ext.app.ViewController', alias: 'controller.pivotgrid', }); Ext.application({ name: 'Fiddle', mainView: 'Fiddle.view.pivot.Grid' }); I put in the attached file what I mean. I was not able to modify the uniGUI demo to make it work. Thanks already for the help.
  6. Thanks! This workaround works fines.
  7. Thanks for the quick answer. I modified the demo of combobox to show the problem. If you change the theme of the example to mac, the problem will not be there. I use the last revision. ComboBox - Modes.zip
  8. Hello, I am migrating my application to UniGui. And I like 2 themes : uni_win11_polar_light_classic et uni_win11_polar_dark_classic. We use UnicomboBox with images in some cases. The images are not displayed in the edit. (They are displayed in the dropdown list) it generates in javascript something like this on the browser : element.style { background-image: url(/cache/prototype_exe/res/__15607FE20BF148372151CDB7.png); .... } The problem, it is ignored because another css class overwrites this : .x-form-text-default { background-image: none !important; ... } What are my solutions to resolve this point.? Have I a way to replace background-image: url(/cache/prototype_exe/res/__15607FE20BF148372151CDB7.png); with background-image: url(/cache/prototype_exe/res/__15607FE20BF148372151CDB7.png) !important; ?
×
×
  • Create New...