We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Question about "VirtTree Grid" Sample

Thread ID:

Created:

Updated:

Platform:

Replies:

77659 Nov 11,2008 05:53 PM UTC Nov 19,2008 10:26 AM UTC Windows Forms 4
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On November 11, 2008 05:53 PM UTC

Hello,

I have one question about the "VirtTree Grid" sample, in my application the cells editions are made in all columns, in this sample the edition is not possible in "A" column, this sample is very like my real case.

I try to change it for enable edition like other cells of grid, in the sample, are created two rectangles for ident level and tree layout, I think that it's problem, is possible (with this sample) enable the "A" column for edit like other columns (without lost tree layout)? Other good solution for it? If possible, send one sample.
Wait one reply, this item is very important.

Thanks


Jisha Joy [Syncfusion]
Replied On November 14, 2008 11:52 AM UTC


Hi Rossa,

We appreciate your interest in Syncfusion Products.


There are more straight-forward ways of doing what you want through the use of hierarchical GridDataBoundGrid. Please refer the sample in the following location:

..\\My Documents\Syncfusion\EssentialStudio\6.3.0.30\Windows\Grid.Windows\Samples\2.0\DataBound\Hierarchical\GDBGTreeLines

Regards,
Jisha




Administrator [Syncfusion]
Replied On November 14, 2008 12:33 PM UTC

Hi Jisha,

Thanks, Ok, this other sample (GDBG Tree Lines) uses DataSet/DataTable and relations for generate the tree, my application not have one data relation (like datatable or dataset), is only layout and my "relations" are created on runtime, my custom code is the manager of relations.

This sample that I have mentioned is very like my real case, but my problem with this, is the column "A", when the tree is created this column is not enable for edit on "DoubleClick" like other columns of grid, is possible enabled this column? other solution for like use?

I see in code that tree type cells (in "VirtTree Grid"), contains two rectangles for ident levels in "A" column, I have made changes to create rectangles (or other object) enable for edit, but no success.
My application need only some solution that is tree/hierarchical layout and values of its is editable.


Administrator [Syncfusion]
Replied On November 17, 2008 06:52 PM UTC

Hello,

Some solution?

Thanks for all help.

>Hi Jisha,

Thanks, Ok, this other sample (GDBG Tree Lines) uses DataSet/DataTable and relations for generate the tree, my application not have one data relation (like datatable or dataset), is only layout and my "relations" are created on runtime, my custom code is the manager of relations.

This sample that I have mentioned is very like my real case, but my problem with this, is the column "A", when the tree is created this column is not enable for edit on "DoubleClick" like other columns of grid, is possible enabled this column? other solution for like use?

I see in code that tree type cells (in "VirtTree Grid"), contains two rectangles for ident levels in "A" column, I have made changes to create rectangles (or other object) enable for edit, but no success.
My application need only some solution that is tree/hierarchical layout and values of its is editable.




Jisha Joy [Syncfusion]
Replied On November 19, 2008 10:26 AM UTC

Hi Rossa,

Please try to derive GridTextBoxCellModel and GridTextBoxCellRenderer instead of GridStaticCellModel and GridStaticCellRenderer.

Please refer the following forum thread.


http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=38018


Regards,
Jisha


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;