Jump to content


Photo

UnidbTreeGrid how to disable collapsible function


  • Please log in to reply
4 replies to this topic

#1 delagoutte

delagoutte

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 267 posts

Posted 12 July 2017 - 08:23 AM

I would lke my unidbtreegrid was always expanded. how can i disable collapsible property ?


  • 0

#2 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3038 posts

Posted 12 July 2017 - 12:08 PM

Hi,

 

Can you use this method ?!:

 

OnFormCreate

UniDBTreeGrid1.FullExpand;

Best regards,


  • 0

#3 delagoutte

delagoutte

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 267 posts

Posted 17 July 2017 - 01:11 PM

I think you d'on't understand what i want.

 

I would the user can not collaps the node.

I would like the tree always to be expanded.


  • 0

#4 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3038 posts

Posted 17 July 2017 - 01:21 PM

Hi,

 

I think you d'on't understand what i want.

 

I would the user can not collaps the node.

I would like the tree always to be expanded.

 

Ok, sorry

 

Maybe you wanted like this ?!:

function beforeitemcollapse(sender, eOpts)
{
    return false;
}

Best regards,


  • 0

#5 delagoutte

delagoutte

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 267 posts

Posted 17 July 2017 - 03:39 PM

Thanks. Very good.


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users