-
Posts
608 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Events
Posts posted by Frederick
-
-
This works correctly in paged/non-paged and whether the datasource has data or not.
Thank you.
- 1
-
Yes. I copied the function header as well when carrying out a a cut and paste.
However, I found out what the problem is.
If the TUniDBGrid's WebOptions | Paged property is False AND the datasource is empty, the code in the afterLayout event will be ignored.
How can I fix this?
-
Here is the testcase. Interestingly, regardless of whether it is a clientdataset or SQLite as the datasource for the grid, the group title's background does not change.
Note: I use PostgreSQL as the database and the group header shows correctly when there is data but not when there is none.
-
Sure. I'll create and upload it here if the problem persists.
-
-
I have added the above condition as follows:-
with UniDBGrid1 do begin
if (not Assigned(DataSource)) or (DataSource.DataSet.IsEmpty) or (not DataSource.DataSet.Active) then
JSInterface.JSCall('getStore().load', []);
end;and condition 2 is triggered but the JS call is not doing anything.
-
Unfortunately, the above does not work.
-
-
-
This is a follow-up to the solution above.
If you see the screenshot attached, when the grid does not have data, the group title's background and font colour does not change.
However, once data is present in the grid, the JS code above works.
How do I fix this?
Note: This is with UniGUI 1.95.0.1577.
-
Yes, this fixed the problem. Thanks.
-
Ok, thanks.
-
After I click the download link in UniGUI's customer portal in FireFox, the agreement PDF is not shown in the frame but is just downloaded. (see CUSTPORTAL.PNG)
However, in other browsers, the PDF file is shown. (see CUSTPORTAL2.PNG)
How do I get FireFox to show the PDF file in the frame?
--
Frederick
(UniGUI Complete - Professional Edition 1.95.0.1577) -
9 hours ago, Sherzod said:
Well,
1-Possible solution: Using the !important rule in CSS (but) is generally considered to be bad practice because it overrides all other styles, regardless of their specificity.
.x-form-cb-label { padding-left: 22px !important; }
2-Possible solution: Using extra class.
2.1. LayoutConfig.Cls = customCB
2.2.
.customCB .x-form-cb-label { padding-left: 22px; }
...
Thanks. This is a better solution.
-
Thanks. May I have the code to put in CustomCSS?
-
Doesn't padding create space around the control rather than between the box and the caption?
-
It seems that Change does not work.
Using & Change or & Change works.
-
I am using the theme "uni_win11_polar_light".
The space between the box and the caption in the TUniCheckBox is too small. How do I add a space between the box and the caption?
I tried " Change" for the caption but it showed "nbspChange". For some reason, this same method works for a TUniRadioButton.
--
Frederick
(UniGUI Complete - Professional Edition 1.95.0.1576)
-
I am using the theme "uni_win11_polar_light".
In the "classic" theme, there is an indication that the TUniDBCheckBox is currently focused. However, in the theme I use, there is no indication whatsoever. Users are not sure where the cursor has gone to.
How do I show that the control has focus when it is focused; probably, some change in the border colour?
--
Frederick
(UniGUI Complete - Professional Edition 1.95.0.1576)
-
-
Thanks. This fixed the problem.
-
I am using the theme "uni_win11_polar_light".
In the attached screenshot, the filter box's width does not quite match the width of the column and does not look nice.
How do I extend the width so that the right margin matches the left margin?
--
Frederick
(UniGUI Complete - Professional Edition 1.95.0.1576)
-
Before adding your code above, only FireFox showed the full width of the scrollbar. However, Edge, Chrome and Vivaldi did not.
After adding your code, all 4 browsers display the scrollbar correctly.
Thanks.
- 1
-
Max Number of users logged onto UniGUI App
in General
Posted
Are there reasons why you have some many connected users but you don't need to use HyperServer?