Jump to content

Recommended Posts

Posted

hi  Delphi Developer

 

yes it is works. Thanks a lot.

 

additionally can we do this with unisession.addjs ?

 

Separately (for columns) found a solution in runtime (I do not know can have the best solution).

 

Try:

 

hide:

UniSession.AddJS('Ext.get('+UniDBGrid1.JSName+'.headerCt.columnManager.columns[0].id + "-triggerEl").hide();');

show:

UniSession.AddJS('Ext.get('+UniDBGrid1.JSName+'.headerCt.columnManager.columns[0].id + "-triggerEl").show();');

remove:

UniSession.AddJS('Ext.get('+UniDBGrid1.JSName+'.headerCt.columnManager.columns[0].id + "-triggerEl").dom.remove();');
  • 4 months later...
Posted

 

Separately (for columns) found a solution in runtime (I do not know can have the best solution).

 

Try:

 

hide:

UniSession.AddJS('Ext.get('+UniDBGrid1.JSName+'.headerCt.columnManager.columns[0].id + "-triggerEl").hide();');

show:

UniSession.AddJS('Ext.get('+UniDBGrid1.JSName+'.headerCt.columnManager.columns[0].id + "-triggerEl").show();');

remove:

UniSession.AddJS('Ext.get('+UniDBGrid1.JSName+'.headerCt.columnManager.columns[0].id + "-triggerEl").dom.remove();');
 
If I used frame with UniDBGrid1, how can I call UniSession.AddJS??
Thank you.
Posted

Hi Mediv07.

 

Can you clarify?

 

When I call UniSession.AddJS inside TUniFrame get the error: Undeclared identifier. On UniForm all right, maybe I need to add some sort of module section Uses?

Posted

When I call UniSession.AddJS inside TUniFrame get the error: Undeclared identifier. On UniForm all right, maybe I need to add some sort of module section Uses?

 

add uniGUIApplication in uses section

uses ... uniGUIApplication ...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...