maher
-
Posts
116 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
Events
Posts posted by maher
-
-
Hello...
Finally it works.....
used
findPlugin not getPlugin
Thank you.
-
Hello...
with UniDBGrid1, UniDBGrid1.JSInterface do begin DataSource.DataSet.First; while not DataSource.DataSet.Eof do begin JSCode('if ('+ JSName +'.findPlugin("rowwidget").recordsExpanded['+ DataSource.DataSet.RecNo.ToString +']) {'+ JSName +'.findPlugin("rowwidget").toggleRow('+ (DataSource.DataSet.RecNo-1).ToString +', '+ JSName +'.getStore().data.items['+ (DataSource.DataSet.RecNo-1).ToString +'])};'); DataSource.DataSet.Next; end; end;
-
Hello,
I tried it but i got error :
-
Thank you...
I will try.
-
Hello,
I tried to search the forum but did not find an answer to above question.Thank you,
-
Hello,
1 - We use this code to Expand /Collapse Raw Widget
while not qrySrv.Eof do
begin
with grdSrv, JSInterface do
begin
JSCall('getPlugin().toggleRow',[qrySrv.RecNo-1, JSStatement(JSName+'.getStore().data.items['+IntToStr(qrySrv.RecNo-1)+']')])
end;
qrySrv.Next;
end;
But this code will Expand a collapsed row and Collapse expanded row !!!
How I can Expand all rows / Collapse all rows , I mean how I can check the if the row is Expanded/Collapsed
Like
while not qrySrv.Eof do
begin
with grdSrv, JSInterface do
begin
if (RowIsExpand and OpIsCollapse***) or (RowIsCollapse and OpIsExpand***) then
JSCall('getPlugin().toggleRow',[qrySrv.RecNo-1, JSStatement(JSName+'.getStore().data.items['+IntToStr(qrySrv.RecNo-1)+']')])
end;
qrySrv.Next;
end;
TAHNX
-
رمضان مبارك
يتقبل الله صالح اعمال
-
كل عـام و أنتم بخيـر
- 1
-
رمضان كريم
- 2
-
Farshad hello,
I have many forms in my app and in one form I need to use a table/query to display certain data to the user, I may put the table/query on the form directly and I may also put the table/query on the MainModule. Could you explain the difference between two approaches, from the view of server side (memory)?
Thank you
-
عيد مبارك
-
رمضان كريم
-
+1
And i suggest a property in MainModule {ShowingLoginForm := false/True}
-
try this
if TUniGUISession(ASession).UniApplication.Parameters.Values['OP'] = 'xxx' then begin ...... Handled := true; end else begin ...... Handled := false; end
-
- 1
-
عيد اضحى مبارك وسعيد وكل عام وانتم بخير - Eid Mubarak.
-
On DM unit :
{$IFNDEF WebApp} DM: TDM; {$ENDIF}
-
-
-
It's Ok Now
TUniGUIApplication(UniApplication).Cookies
-
Hi,
I tried to user UniApplication.Cookies.Values in MainModule.Create , but the UniApplication Calss not have a Cookies .
Thanx
-
Hi,
I used TsiLang it's working fine with unigui .
- 1
-
procedure TUniMainModule.GoMainMenu;
var
I:integer;
begin
// Close all forms but not the mainForm.
for I := UniSession.FormsList.Count-1 downto 0 do
begin
try
if(TUniForm(UniSession.FormsList.Items[I]).Name <> 'MainForm') then
TUniForm(UniSession.FormsList.Items[I]).Close;
finally
end;
end;
-
Hi,
In log file an error :
The system try to find a files
...... [HandleFileRequest]:File not found: ...\root\apple-touch-icon.png
but we did not use this file.
Expand/collapse (show/hide) a RawWidget in a Grid
in General
Posted
Hello...
1.90.0.1551