Jump to content
uniGUI Discussion Forums

aln02

uniGUI Subscriber
  • Content Count

    57
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by aln02

  1. aln02

    Questions & Answers

    Hi. We need to renew subscription before it expires or there is some time until the possibility of renewal? Thanks.
  2. aln02

    Order Failed

    Hi. I'm trying to pay the Renew/Upgrade, but failed. FastSpring gives an error message: <We regret that your payment or order could not be accepted. There are many reasons why this might occur. We value your business and would like to help you complete this order. Please contact us for assistance.> thanks
  3. aln02

    Order Failed

    thank you. FastSpring support answered my request and now the problem is solved. payment completed
  4. aln02

    path to ExtJS from another UniGuiServer

    I mean, what I need specify ExtRoot and UniRoot via url to another server. Thx.
  5. Is it possible somehow to specify the path to ExtJS from another UniGuiServer? That is, for example, operates two UniGuiServers, but ExtJS is only one. (the same for UNI). UniServerModule.ExtRoot and UniRoot does not work for this. Thx.
  6. aln02

    Update button uniDBGrid

    Hi. Try: 1. UniDBGrid1 -> .... function afterrender(sender, eOpts) { sender.pagingBar.getComponent("refresh").handler = function () { ajaxRequest(MainForm.window, 'Grid1Refresh', []); } } 2. MainForm.UniFormAjaxEvent(Sender: TComponent; EventName: string; Params: TStrings); begin if EventName='Grid1Refresh' then UniMainModule.ClientDataSet1.Refresh; end;
  7. aln02

    Manipulate the position of UniScrollBox

    Hi. Perhaps it will help you: UniSession.AddJS(UniScrollBox.JSName+'.getTargetEl().scrollTo("top");'); - for Desktop and UniSession.AddJS(UnimScrollBox.JSName+'.getScrollable().getScroller().scrollTo(0, 0);'); - for Mobile
  8. aln02

    UniDBGrid Column autowith

    Maybe will useful wordwrap for demanded columns
  9. aln02

    UniDBGrid Column autowith

    Hi. You can make so: function OnReconfigure(sender, store, colModel) { sender.headerCt.forceFit=true; } or, for specified columns: function OnReconfigure(sender, store, colModel) { if (!sender.columnManager) { sender.columns[0].flex=1; } else { sender.columnManager.columns[0].flex=1; } } in unidbgrid.ClientEvents.ExtEvents
  10. aln02

    Open new Tab in Browser ...

    Hi. Maybe it will help http://forums.unigui.com/index.php?/topic/1890-button-idcss/&do=findComment&comment=8202
  11. Hi. Why you made UniDBGrid1.Refresh before set datsource and open dataset? Since dataset opened after it been closed, UniDBGrid1.Refresh is not necessary. Try UniDBGrid1.Refresh after open dataset or remove it;
  12. aln02

    TUniPanel - Collapsible Problem ...

    Try add uniGUIApplication to uses clause of UniFrame and use setTimeout For example: UniSession.AddJS('setTimeout(function(){'+pnl_dop.JSName+'.collapse()}, 10);');
  13. aln02

    dbGrid forceFit

    also for certain columns you can make, for example: function OnReconfigure(sender, store, colModel) {var col; if (!sender.columnManager) { col=sender.columns; } else { col=sender.columnManager.columns; } col[0].flex=1; col[2].flex=1; col[5].flex=1; }
  14. aln02

    Question UniDbGrid

    if I correctly understood, it for you: http://forums.unigui.com/index.php?/topic/2887-tdbgrid-scroll-bug-after-post/
  15. aln02

    How to create URL link TUniLable

    UniLabel.TextConversion must by set to txtHTML
  16. aln02

    UniLabel.WordWrap

    I meant designe-time. Sorry for inaccuracy. By changing unilabel.AutoSize=False, word wrap worked in web-mode, but not in design time. Thx.
  17. aln02

    UniLabel.WordWrap

    Whether it is possible to make by default wordwrap=true property for unilabel. (In early versions this property was published). As in web mode similar behavior, as with unilabel.wordwrap=true Thx.
  18. aln02

    dbGrid forceFit

    Hi. You can make so: function OnReconfigure(sender, store, colModel) { sender.headerCt.forceFit=true; } on unidbgrid.ClientEvents.ExtEvents
  19. aln02

    UniDBGrid Column autofit

    Hi. You can make so: function OnReconfigure(sender, store, colModel) { sender.headerCt.forceFit=true; } or, for specified columns: function OnReconfigure(sender, store, colModel) { if (!sender.columnManager) { sender.columns[0].flex=1; } else { sender.columnManager.columns[0].flex=1; } } in unidbgrid.ClientEvents.ExtEvents
  20. aln02

    UniGUI mainform fullscreen without borders...

    I am not sure but, if on a form there is unidbgrid, try uncheck unidbgrid.weboptions.loadmask. I had a similar behavior.
  21. aln02

    Kill a session when browser is closed

    IMHO, it is better to place this code in MainForm.Script. It works in both cases (mfPage, mfWindow) for example: function bunload(){ dontleave="Are you sure? The program will be closed!"; return dontleave; }; function ounload(){ ajaxRequest(MainForm.window, 'SessionClosed', [] ); }; onbeforeunload = bunload; onunload=ounload; for me, it works on FF, IE, Chrome. But Opera doesn't support both events (((.
  22. aln02

    Custom config options

    Can probably add property 'CustomConfig' into components, for include custom config options
  23. aln02

    DBGrid & ScrollIntoView

    glad to help
  24. aln02

    DBGrid & ScrollIntoView

    Maybe it will help: if unidbgrid.WebOptions.Paged then UniSession.AddJS('setTimeout(function () {'+ 'MainForm.unidbgrid.getView().focusRow('+IntToStr((unidbgrid.datasource.dataset.RecNo mod unidbgrid.WebOptions.PageSize)-1)+');'+ '}, 100);' ) else UniSession.AddJS('setTimeout(function () {'+ 'MainForm.unidbgrid.getView().focusRow('+IntToStr(unidbgrid.datasource.dataset.RecNo-1)+');'+ '}, 100);' ); It works for me))
×