aln02
-
Posts
57 -
Joined
-
Last visited
-
Days Won
4
Content Type
Profiles
Forums
Events
Posts posted by aln02
-
-
thank you. FastSpring support answered my request and now the problem is solved. payment completed
-
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
-
I mean, what I need specify ExtRoot and UniRoot via url to another server.
Thx.
-
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.
-
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; -
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
- 1
-
Maybe will useful wordwrap for demanded columns
-
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- 2
-
-
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; -
Try add uniGUIApplication to uses clause of UniFrame
and
use setTimeout
For example:
UniSession.AddJS('setTimeout(function(){'+pnl_dop.JSName+'.collapse()}, 10);');
-
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;}
-
if I correctly understood, it for you:
http://forums.unigui.com/index.php?/topic/2887-tdbgrid-scroll-bug-after-post/ -
UniLabel.TextConversion must by set to txtHTML
-
I meant designe-time. Sorry for inaccuracy.
By changing unilabel.AutoSize=False, word wrap worked in web-mode, but not in design time.
Thx.
-
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.
-
Hi.
You can make so:
function OnReconfigure(sender, store, colModel)
{
sender.headerCt.forceFit=true;
}on unidbgrid.ClientEvents.ExtEvents
-
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
-
I am not sure but, if on a form there is unidbgrid, try uncheck unidbgrid.weboptions.loadmask. I had a similar behavior.
-
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 (((.
- 2
-
Can probably add property 'CustomConfig' into components, for include custom config options
-
glad to help
-
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))
- 1
-
Questions & Answers
in Ordering uniGUI
Posted
Hi.
We need to renew subscription before it expires or there is some time until the possibility of renewal?
Thanks.