-
Posts
19720 -
Joined
-
Last visited
-
Days Won
639
Content Type
Profiles
Forums
Events
Everything posted by Sherzod
-
function beforeInit(sender, config) { config.defaultView = 'day'; config.createButton = { hidden: true }; config.compactOptions = { createButton: { hidden: true } }; }
-
Please attach test app.
-
Okay. Make a simple testcase if possible.
-
I couldn't reproduce. Works for me. Could you make a simple testcase to check?
-
-
Hello, Which build are you using? Could you please make a simple testcase to check?
-
Can you test it on the latest versions, and upgrade to the latest versions?
-
Hello, Do you create at runtime?
-
Hello, You can simply renew your current subscription by going to customer portal and choosing Add a Product Option for your product: https://prime.fmsoft.net/userv/mportal.dll And please adjust your forum email address:
-
Tunichart LineSeries adapted (instead of straight lines)
Sherzod replied to SergioFeitoza's topic in General
Hello, Seems to be a wrong number. -
One possible solution. 1. function beforerender(sender, eOpts) { if (sender.pagingBar) { sender.removeDocked(sender.pagingBar, true); sender.addDocked({ dock: 'bottom', items: [Ext.create('Ext.PagingToolbar', { pageSize: sender.store.pageSize, store: sender.store, displayInfo: true, displayMsg: 'Visualizando {0} - {1} de <b>{2}</b>', emptyMsg: "Não há registros", id: sender.id + 'pBar', plugins: Ext.create('Ext.ux.PagingToolbarResizer', { displayText: 'Registros por página', options: [25, 50, 100, 150, 200] }) })] }); } } 2. function afterrender(sender, eOpts) { var me = sender; var pBar = Ext.getCmp(me.id+'pBar'); if (pBar) { pBar.getComponent("refresh").handler = function() { ajaxRequest(me, '_refresh', []) } } }
-
Ok. I will check.
-
Hello, You can use id config, but you must ensure uniqueness. procedure TMainForm.UniFormCreate(Sender: TObject); begin UniCanvas1.JSInterface.JSConfig('id', ['CanvaID']) end;
-
Sorry, it seems I forgot to include upoPlatformDesktop as well: UniAddJSLibrary('colorpickext.js', False, [upoFolderFiles, upoPlatformDesktop]); And just in case, I changed the script colorpickext.js (added Ext.onReady😞 Ext.onReady(function() { Ext.ux.colorpick.ColorUtils.parseColor = function(d, g) { if (!d) { return null } var e = this, f = e.colorMap[d], b, c, h; if (f) { c = { r: f[0], g: f[1], b: f[2], a: 1 } } else if (d === 'transparent') { c = { r: 0, g: 0, b: 0, a: 0 } } else { b = e.hexRe.exec(d); if (b) { b = b[1]; switch (b.length) { default: return null; case 3: c = { r: parseInt(b[0] + b[0], 16), g: parseInt(b[1] + b[1], 16), b: parseInt(b[2] + b[2], 16), a: 1 }; break; case 6: case 8: c = { r: parseInt(b.substr(0, 2), 16), g: parseInt(b.substr(2, 2), 16), b: parseInt(b.substr(4, 2), 16), a: parseInt(b.substr(6, 2) || 'ff', 16) / 255 }; break; } } else { b = e.rgbaRe.exec(d); if (b) { c = { r: parseFloat(b[1]), g: parseFloat(b[2]), b: parseFloat(b[3]), a: parseFloat(b[4]) } } else { b = e.rgbaAltRe.exec(d); if (b) { c = e.parseColor(b[1]); c.a = parseFloat(b[2]); return c } b = e.rgbRe.exec(d); if (b) { c = { r: parseFloat(b[1]), g: parseFloat(b[2]), b: parseFloat(b[3]), a: 1 } } else { return null } } } } if (g) { //c.a = Ext.util.Format.number(c.a, g); c.a = c.a.toFixed(2); } h = this.rgb2hsv(c.r, c.g, c.b); return Ext.apply(c, h) } })
-
Hello, Can you please make a simple testcase to check?
-
I will check it again.
-
Make sure this file is loaded after ux.js
-
Тогда просто используйте record.data[0] function beforeselect(sender, record, index, eOpts) { if (record.hasChildNodes()) { //record.data[0] } }
-
Я имел в виду, примеры выделения узлов, и что должно быть получено...
-
Пожалуйста, приведите несколько примеров...
-
А что там должно быть, у этого же узла нет родителя!?