c1flexgrid hierarchical bound

Originally Posted 14 June 2017, 6:18 am EST

  • Originally Posted 14 June 2017, 6:18 am EST

    Hi
    Please hierarchical data item with bounded data to add in c1flexgrid the next release
    Thankful
  • Reply

    Hi,

    You can create a hierarchical representation of the bounded data on the grid at present using the outline tree. Please refer to "DBTree" sample in ComponenetOne Samples installed along with the product, at the given location :
    \Documents\ComponentOne Samples\WinForms\C1FlexGrid\CS\DBTree

    More about outline tree can be found here:
    http://helpcentral.componentone.com/nethelp/c1flexgrid/outlinetree.html

    In case this does not meets your requirement we would request you to provide more details.

    Regards,
    Ankit
  • Reply

    Hi
    I would like items that photo file in Access C1NWind.mdb I c1flexgrid implementation.
    You want the tree is shown right to left.
    I also do not want to use the c1TrueDBGrid.
    Please send your application examples.
    Thankful

  • Reply

    Hi
    Thank you for your answer.
    How can the parent and child display be moved?

  • Reply

    Hi
    How to display the child first Then,by expanding show the parent in the datatree?
  • Reply

    Hi,

    >>How can the parent and child display be moved?
    Can you please elaborate more on this requirement, in what manner do you want to move the two displays?
    Do you want to stretch the child grid to its left so that no empty space is displayed?

    >>How to display the child first Then,by expanding show the parent in the datatree?
    I'm not sure if I understand the requirement here. It is always the parent nodes that are displayed first followed by the child. It would be helpful if you could share an use-case/more details on this.

    Regards,
    Ankit
  • Reply

    Hi
    How to change the parent's location with a child like a photo?



  • Marked as Answer

    Reply

    Hi,

    Please note that on expanding a tree node in parent grid, child grid is created and shown within its parent. And since, the parent is already painted before its child; it is not possible to show the child grid behind its parent.

    Let me know if you have any further query on it.

    Regards,
    Meenakshi
  • Reply

    Hi,

    Thank you for sharing across the image. You can refer to the "DataTree" sample installed along with the product for this. It can be located at '\Documents\ComponentOne Samples\WinForms\C1FlexGrid\CS\DataTree'

    This sample won't be RightToLeft though. To change it to RTL layout, you can set RightToLeft property of C1FlexGrid to RightToLeft.Yes

    this._flex.RightToLeft = System.Windows.Forms.RightToLeft.Yes;

    You'll also need to handle the locations of the child grids while they are being added. The implementation details can be found in the modified DataTree sample attached to this post. Please let us know if this helps.

    Regards,
    Ankit
    2017/06/Prj_RightToLeftInTree.zip
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels