Jump to content

Sherzod

Moderators
  • Posts

    19800
  • Joined

  • Last visited

  • Days Won

    643

Everything posted by Sherzod

  1. 1. UniDBPivotGrid1.ClientEvents.UniEvents -> function afterCreate(sender) { sender.on('showdrilldownpanel', function(panel) { //Adding exporter plugin panel.down('grid').addPlugin('gridexporter'); var grid = panel.down('grid'); var gridColIndx = 0; grid.on('itemdblclick', function() { if (grid.getSelection()[0]) { ajaxRequest(sender, "drilldowngrid", {id: grid.getSelection()[0].data[grid.columnManager.columns[gridColIndx].dataIndex]}) } }); var exporterCfg = new Object({ type: "xlsx", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", title: panel.title, //title fileName: "Export.xlsx" }); if (!panel.exportBtn) { panel.exportBtn = panel.getHeader().insert( 1, {xtype: 'button', text: 'Export2Excel', handler: function() { panel.down('grid').saveDocumentAs(exporterCfg); }} ) } }); } 2. procedure TMainForm.UniDBPivotGrid1AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName = 'drilldowngrid' then begin ShowMessage(Params.Values['id']) end; end;
  2. Добрый! Для Вашего случая, одно из возможных решений: procedure TMainForm.UniFormReady(Sender: TObject); begin //Exit1: TUniMenuItem; UniSession.AddJS(Exit1.JSName + '.getBubbleParent().insert(1, {xtype: "tbfill"})'); end;
  3. I need to figure out why this happens, can you make a simple test case?
  4. Can you make a simple testcase and attach here?
  5. First of all, check with this demo example if "the demo login form cookies" works as expected for you. Are you using custom JS?
  6. Hello @MichaelM I couldn't reproduce your issue.
  7. Explain what this is for?
  8. Hello, No, this mode only affects the MainForm.
  9. Попробуйте очистить кэш и перезагрузить страницу.
  10. Deployment methods such as ISAPI, Apache and etc. you need to configure SSL in those tools using particular instructions.
  11. Hello, Using the scanner from a browser requires integration with a local application or the use of specialized libraries and browser extensions.
  12. No. Without user involvement on the client side, the web browser won't grant access to the file system. Browsers are designed with security in mind to prevent unauthorized access to files on the user's computer. Therefore, any file operations on the client side must be initiated by the user, such as through file input controls on web pages.
  13. Sherzod

    Get data HTML

    Can you make a completed test project?
  14. Добрый день! В принципе да, я думаю, что это возможно. Вот что говориться в документации: "Multiple inputs aren't supported, you can achieve them by using html and preConfirm parameters."
  15. UniDBPivotGrid.ClientEvents.UniEvents -> function afterCreate(sender) { sender.on('showdrilldownpanel', function(panel) { //Adding exporter plugin panel.down('grid').addPlugin('gridexporter'); var exporterCfg = new Object({ type: "xlsx", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", title: panel.title, //title fileName: "Export.xlsx" }); if (!panel.exportBtn) { panel.exportBtn = panel.getHeader().insert( 1, {xtype: 'button', text: 'Export2Excel', handler: function() { panel.down('grid').saveDocumentAs(exporterCfg); }} ) } }); }
  16. Hello, Okay, try this: function resize(sender, info, eOpts) { ajaxRequest(sender, '_resize', {top: sender.getTop()||sender.element.getTop(), height: sender.getHeight()||sender.element.getHeight()}, false); }
  17. Sherzod

    Get data HTML

    Hello, What would you do if you put yourself in our place? How can we help you if we have no idea what you're coding and how?
×
×
  • Create New...