-
Posts
19691 -
Joined
-
Last visited
-
Days Won
637
Content Type
Profiles
Forums
Events
Everything posted by Sherzod
-
Hi, How about these demos? GridSummary GridSummaryPaged GridGroupingSummary GridGroupingSummaryGrandTotal
-
Use cellIndex function celldblclick(sender, td, cellIndex, record, tr, rowIndex, e, eOpts) { //cellIndex-1 }
-
Which selection model are you using?
-
Hello, function celldblclick(sender, td, cellIndex, record, tr, rowIndex, e, eOpts) { } ?
-
Hi, Still using the trial version? Which build?
-
Еще проще... procedure TMainmForm.UnimFormShow(Sender: TObject); begin JSInterface.JSCall('hide', [], TitleButtons[0].JSMenuItem); end;
-
Да, вот корректный код: i := btnIdx; if form.CloseButton.Visible then Inc(i, 2); //closebutton "indx" else Inc(i, 1);
-
I := 1; //title "indx" -> значение 1 - типа константа Дальше -> Если есть form.CloseButton, то переменная I теперь =2 0 -> 2 (используйте 2 вместо 0)
-
Проанализируйте код пожалуйста: procedure TUnimForm1.UnimFormShow(Sender: TObject); var I: Byte; begin I := 1; //title "indx" if Self.CloseButton.Visible then Inc(I); //closebutton "indx" //for example, hide TitleButtons[0] UniSession.AddJS(Self.Name + '.titlebar.getAt('+ IntToStr(I) +').hide()'); //or .show() end; I := 1; //title "indx" if Self.CloseButton.Visible then Inc(I); //closebutton "indx"
-
Пока попробуйте использовать это решение...
-
UnimmTabPanel TabBar is not invisible with version 1534
Sherzod replied to robinhodemorais's topic in General
OK. Have you tried the solution above? procedure TMainmForm.UnimFormReady(Sender: TObject); begin with UnimTabPanel1 do if not TabBarVisible then JSInterface.JSCall('getTabBar().setVisibility', [TabBarVisible]); end; -
UnimmTabPanel TabBar is not invisible with version 1534
Sherzod replied to robinhodemorais's topic in General
Hello, Once again, please, what is your problem? -
What you ask is not very clear to me. Maybe you wanted like this? procedure TUniButtonsSpeedButton.UniFrameCreate(Sender: TObject); var f: integer; begin //Try to see BEFORE and AFTER the loop //sboxGridBlock.JSInterface.JSCall('getScrollable().getScrollElement().setScrollTop', [0]); for f := 0 to ComponentCount - 1 do begin TUniControl( Components[f] ).Left := Random( 800 ); TUniControl( Components[f] ).Top := Random( 2000 ); end; end; procedure TUniButtonsSpeedButton.UniFrameReady(Sender: TObject); begin sboxGridBlock.JSInterface.JSCall('getScrollable().getScrollElement().setScrollTop', [0]); end;
-
Hi, OK. I will check...
-
Hello, I don't even know. Need to analyze.
-
Hi, Thanks. Can you try to use this approach? function reconfigure(sender, store, columns, oldStore, oldColumns, eOpts) { columns.forEach(function(col) { if (col.titleEl) { col.titleEl.on('dblclick', function() { ajaxRequest(sender, 'headerdblclick', ['colIndx=' + col.dataIndex]); }) } else if (col.columns) { col.columns.forEach(function(col) { if (col.titleEl) { col.titleEl.on('dblclick', function() { ajaxRequest(sender, 'headerdblclick', ['colIndx=' + col.dataIndex]); }) } }) } }); }
-
Обходной путь. Назначьте пустой обработчик: procedure TMainmForm.UnimTabPanel1Change(Sender: TObject); begin // end;
-
Обходной путь... UniContainerPanel2 -> function afterlayout(sender, layout, eOpts) { sender.getRefItems().forEach(function(comp){if (comp.fieldLabel && comp.fieldLabel!="") {comp.setHeight(comp.getHeight())}}) }
-
Разные лайоуты
-
Здравствуйте, Да, кажется ошибка при расчете высоты компонента, когда используется FieldLabel.
-
Hi, Probably yes, will not work. Can you make a simple tescase with your grid settings?
-
Login form with a "Sign in with Google" button
Sherzod replied to stevewong's topic in Sample Projects
Hello, -
Hello, Sorry for the late reply. Well, one possible solution. 1. In designTime (Width, Height, Cls): 2. CustomCSS: .customBtn .x-btn-inner { transform: rotate(-90deg); min-width: max-content; } Result:
-
procedure TUniButtonsSpeedButton.UniFrameReady(Sender: TObject); begin sboxGridBlock.JSInterface.JSCall('getScrollable().getScrollElement().setScrollTop', [0]); end;