Jump to content

Recommended Posts

Posted

Hello,

 

if (UnimNestedList.Selected<>nil)  then
            UnimNestedList.Selected.Collapse(True);
 
Collapse method call Ajax error "_cnf_" not defined
 
I need back to the previews level of the UnimNestedList. How to do it?
 
Dmytro
Posted

Hi

 

There is already a back button in UnimNestedList.  If you go back to previews level that should work without writing any code.

 

If you wanna do something when click back button try UnimNestedList's OnBackClick event.

Posted

Thank you. I know about back button. :)  I need back by code if it`s possible. Selected property of the Node does not work. Do you know another way?

Posted

Hi,

 

For now try, one of the possible of fast solutions:

procedure TMainmForm.UnimButton1Click(Sender: TObject);
begin
  if UnimNestedList1.Selected.Parent<>nil then
    UniSession.AddJS(UnimNestedList1.JSName + '.getBackButton().fireEvent("tap")');
end;

or just:

UniSession.AddJS(UnimNestedList1.JSName + '.getBackButton().fireEvent("tap")');

Best regards.

Posted

Hi,

 

For now try, one of the possible of fast solutions:

procedure TMainmForm.UnimButton1Click(Sender: TObject);
begin
  if UnimNestedList1.Selected.Parent<>nil then
    UniSession.AddJS(UnimNestedList1.JSName + '.getBackButton().fireEvent("tap")');
end;

or just:

UniSession.AddJS(UnimNestedList1.JSName + '.getBackButton().fireEvent("tap")');

Best regards.

amazing... it`s working! thank you

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...