-
Posts
1577 -
Joined
-
Last visited
-
Days Won
133
Content Type
Profiles
Forums
Events
Everything posted by Hayri ASLAN
-
-
You can use NewCacheFile instead of NewCacheFileURL.
-
You can't change the type of the store after it rendered. Why do you want to switch it in runtime?
-
Buffered store only implemented for TUnimDBGrid. UnimDBListGrid doesn't have bufferedstore property.
-
Hello Which one do you want us to implement? Colorbutton, colorfield or color selector? Colorbutton https://docs.sencha.com/extjs/7.4.0/modern/Ext.ux.colorpick.Button.html colorfield https://docs.sencha.com/extjs/7.4.0/modern/Ext.ux.colorpick.Field.html color selector https://docs.sencha.com/extjs/7.4.0/modern/Ext.ux.colorpick.Selector.html
-
Hello You can use LocalStorage instead of cookie. "Web storage is per origin (per domain and protocol). All pages, from one origin, can store and access the same data."
-
Hello Unigui natively support mobile webcam. Add a UnimFileUploadButton to form and set capture to camera. Also you can use below trick.
-
Hello, Can you please attach a test case so we can work on it
-
Hello, Why you are setting parent of UniFrame to UniHTMLFrame?
-
Hello Can you please create a test case?
-
GroupingFeature: Use a other column for Group Title in uniDBGrid
Hayri ASLAN replied to erich.wanker's topic in General
Hello Please use below code. (Please use children instead of rows and rows is deprecated) PRO TIP : add {[console.log(values)]} into groupHeaderTpl to see the values in the console. function beforeInit(sender, config) { config.groupingFeature = Ext.create('Ext.grid.feature.Grouping', { groupHeaderTpl: new Ext.XTemplate('{[this.getGroupTitle(values.rows[0]]}', { getGroupTitle: function (values) { if (values.data[0] == '') return 'Alle 8D Änderungsreporte ohne Gruppenzuordnung'; else return 'Gruppenname: <b>' + (values.data[0]).replace(/[&\/\\#,+()$~%.":*?<>{}]/g, ""); '</b>'; } }) }); config.features = [config.groupingFeature]; var groupingFeature = Ext.create('Ext.grid.feature.Grouping', { groupHeaderTpl: new Ext.XTemplate('{columnName}: {name} - 1st CountryName: {[values.children.at(0).get(4)]} - TotalCount: ({[this.countTotal(values.children)]})', '', { countTotal: function (records) { var totalSum = 0; totalSum = records.length; return totalSum; } }), hideGroupedHeader: true }); config.features = [groupingFeature] } -
Hello For now please use below workaround. UniChart.pas Line 1819 1 : begin if VarIsNull(ValuesList[1].Value[I]) then Result[I] := 'null' else begin fVal := ValuesList[1].Value[I]; Val := fVal2Float(fVal); Result[I] := Val; end; end; and you can add null values like below Series1.Add(null, '2000')
-
Hello Please check the below code. UniLabel3.Caption:= '<button type="button" class="btn btn-success" onclick="ajaxRequest('+UniLabel3.JSName+', ''_test'');">Success</button>';
-
Clone Components/Controls inside TuniPanel/TuniContainerPanel
Hayri ASLAN replied to CiceroBillo's topic in General
Hello Can you please create a test case? -
Hello You can call Showmask and synchronize to show screen mask. Please check "SyncClientUpdate - 4 - ShowMask" demo
-
Как считать конфигурацию UniDBPivotGrid.Configurator
Hayri ASLAN replied to dbf_usr's topic in Russian
Please attach the test case. It works for me. -
Как считать конфигурацию UniDBPivotGrid.Configurator
Hayri ASLAN replied to dbf_usr's topic in Russian
Hello Please try below solution procedure TMainForm.uniDBPivotGrid1AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin //Sample Response // Aparams['leftAxis'].asstring , Aparams['aggregate'].asstring, Aparams['topAxis'].asstring //leftAxis=SaleMonth //aggregate=ItemsTotal //topAxis=Customer,ShipVIA end; procedure TMainForm.UniFormCreate(Sender: TObject); begin with uniDBPivotGrid1, JSInterface do begin JSAddListener('configchange', JSFunction('m,c',' ajaxRequest('+JSName+', "configchange", '+ ' {leftAxis: Array.prototype.map.call(c.leftAxis, function(item) { return item.header; }).join(","), '+ ' aggregate: Array.prototype.map.call(c.aggregate, function(item) { return item.header; }).join(","), '+ ' topAxis: Array.prototype.map.call(c.topAxis, function(item) { return item.header; }).join(",")})')) end; end; -
Hello We are currently working on Mode 3. We will publish it soon.
-
Merhaba Latin-1 karakter setini mi kullaniyorsunuz?
-
Hello Please try below solution
-
Hello With below code you can change the apperance of the unimfileuploadbutton. BEFORE: AFTER: procedure TMainmForm.UnimFormReady(Sender: TObject); begin with UnimFileUploadButton1, JSInterface do begin JSAssign('element.dom.querySelector(".x-label-el").style.display', ['none']); JSAssign('element.dom.querySelector(".x-input-el").style.display', ['none']); JSAssign('element.dom.querySelector(".x-input-wrap-el").style.border', ['none']); JSAssign('element.dom.querySelector(".x-after-input-el").style.width', ['100%']); JSAssign('element.dom.querySelector("#ext-field-trigger-file-1").style.width', ['100%']); JSAssign('element.dom.querySelector("#ext-filebutton-1").style.width', ['100%']); JSAssign('element.dom.querySelector(".x-text-el").innerText', ['Take a Picture']); end; end;
-
How to hide UnimTabSheet correctly? [ Solved ]
Hayri ASLAN replied to Fábio Matte's topic in uniGUI Mobile
Hi, TabBarVisible is a property of tabsheet and value can be True or False.- 4 replies
-
- unimtabsheet
- tabvisible
-
(and 1 more)
Tagged with:
-
Hello I don't think it is possible in PivotGrid.