Jump to content

thiagopedro

uniGUI Subscriber
  • Posts

    41
  • Joined

  • Last visited

Everything posted by thiagopedro

  1. How to change the icon of place? Place on the right side.
  2. 1: it worked thank you Could you explain what each command does? Their role. Why css would I also get this result? 2: Assigning in designtimer worked. When I assemble the event at runtime through the create of the frame, it doesn't work. Any tips? procedure TUniFrame.UniFrameCreate(Sender: TObject); begin UniDBGrid.ClientEvents.UniEvents.Values['beforerender'] := 'function beforerender(sender, eOpts)'+ '{'+ 'var pagingBar=sender.pagingBar;'+ 'if (pagingBar) {'+ 'pagingBar.add(0, {xtype: ''tbfill''});'+ 'pagingBar.add({xtype: ''tbfill''});'+ '}'+ '}'; end;
  3. I am looking to automatically center the grid toolbar.
  4. My license goes up to that version. I did not receive the promised licensing time increase. I checked the log and found nothing related to that version afterwards that could indicate something non-functional in this sense. You can verify ?
  5. It is not what I could see in the following scenario. Scenario One (Sucess): 1. Alter PageSize; 2. By clicking on the toolbar button.Updates the grid correctly. Scenario One (Error): 1. Alter PageSize; 2. Execute command "UniDBGrid1.Refresh". Grid is not updated.
  6. Attached is the refresh item of the highlighted toolbar. What is the procedure via code similar to the action of this button?
  7. The problem mentioned does occur. The interim solution is: gbNumeracao.JSInterface.JSCode(#1'.setBodyStyle("height", "72px");');
  8. Is it functional in version 1.50.0.1485? I tested it and it did not work.
  9. Also tested with version ext-6.6.0 / uni-1.70.0.1484. Same problem!
  10. I'm also having the same problem. When using "Filter" / "Filtered = True" in FDQuery. Error in function TUniCustomDBGrid.MoveToRow. "UniDBGrid" is not automatically filtering. After filtering and clicking the manually refresh uniDBGrid button, it updates the data, but the page count goes wrong. Anyway, you're in trouble! As I had already been informed by other colleagues, I figured that an update would soon come out. My Version: ext-6.6.0 / uni-1.70.0.1485
  11. Does anyone have a working example in ext-6.5.3?
  12. Please, How to remove only the last border of the grid? https://imgur.com/a/yel9Xc5
  13. Found bug in uniDBGrid. Option setting default: WebOptions.Paged = False Event: Click in other row. Error: Move automatic cursor for last table row. Video demo: Version: 1466
  14. My contribution. Adapter for Unigui 1.10.0.1456 Thanks, Mohammad. CircleProgress_Unigui__1.10.0.1456.7z
  15. Yes. I tried "... setValue (" text ")" and "... setText (" text ") attached demo forum_unigui.7z
  16. MainForm.UniEdit SetValue("TEXT"); ==> OK MainForm.UniLabel SetText("TEXT"); ==> OK MainForm.UniMemo ?????
  17. They are different procedures. What you have indicated is drag and drop. This is "select files". I just need to know how to fit to load this event and associate it with a component.
  18. how can I use this js code in unigui? Ext.onReady(function () { var grid = Ext.widget({ xtype: 'grid', height: 400, store: { fields: ['name', 'size', 'progress', 'status'] }, tbar: [{ xtype: 'filefield', buttonOnly: true, width: 10, listeners: { render: function (s) { s.fileInputEl.set({ multiple: 'multiple' }); }, change: function (s) { Ext.each(s.fileInputEl.dom.files, function (f) { var data = new FormData(), rec = grid.store.add({ name: f.name, size: f.size, status: 'queued' })[0]; data.append('file', f); Ext.Ajax.request({ url: '/upload/files', rawData: data, headers: { 'Content-Type': null }, //to use content type of FormData progress: function (e) { rec.set('progress', e.loaded / e.total); rec.set('status', 'uploading...'); rec.commit(); }, success: function () { rec.set('status', 'done'); rec.commit(); }, failure: function () { rec.set('progress', 0); rec.set('status', 'failed'); rec.commit(); } }); }); } } }], columns: [ { text: 'Name', dataIndex: 'name', flex: 1 }, { text: 'Status', dataIndex: 'status', width: 100 }, { text: 'Progress', xtype: 'widgetcolumn', widget: { xtype: 'progressbarwidget', textTpl: [ '{percent:number("0")}%' ] }, dataIndex: 'progress', width: 100 }, { text: 'Size', dataIndex: 'size', width: 100, renderer: Ext.util.Format.fileSize } ], renderTo: Ext.getBody() }); }); thanks for the help
×
×
  • Create New...