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.

Nested Table Selected Cells

Thread ID:

Created:

Updated:

Platform:

Replies:

107753 Mar 14,2013 09:33 AM Mar 20,2013 10:46 PM Windows Forms 4
loading
Tags: Grouping
Gaukhar Massabayeva
Asked On March 14, 2013 09:33 AM

Hi,
 
I have a grid. Each row in that grid has editable sub-rows (nested tables)
I expand multiple rows and now multiple sub-rows for each parent row are exposed.
I select a bunch of cells in the sub-rows and now trying to retrieve those programmatically.
 
At the moment I am using this.TableModel.Selections.GetSelectedrows(false,true) and this only gives me the first raw that is selected and not the other.
 
How can I retrieve all selected cells.
 
Thank you
 
 

Gaukhar Massabayeva
Replied On March 14, 2013 10:59 AM

I am using model based selection, because I need to be able to select individual cells.
 
Thought I would mention since I read this article earlier.
 

Model-Based Selection

1. In Model-based selection, you will be able to select cell ranges; but the selections will have no knowledge of nested tables, grouping or sorting and hence the functionality is limited like a data bound grid (GridData control).

2. To use the model selection capability, set AllowSelections to any flag except none.

3. Selection can be made through keyboard and mouse.

Record-Based Selection

1. It is designed specifically for the data bound grids.

2. In Record-based selection, the complete grid records (rows) will be selected and these selections function properly with nested tables, sorting, and so on.

3. To use the record selections, you must set AllowSelections to none and then set ListBoxSelectionMode to any flag except none.

4. Selection can be made through keyboard and mouse with some restriction. For more details, see Record-based Selection in this topic.


Gaukhar Massabayeva
Replied On March 14, 2013 11:09 AM

Can somebody tell us whether it is possible to get nested tables selected cells despite using model based selection?

Gaukhar Massabayeva
Replied On March 18, 2013 07:29 AM

Can somebody get back to me please on this?
Thanks

Athiram S [Syncfusion]
Replied On March 20, 2013 10:46 PM

Hi Gaukar,

We deeply regret for the delay caused.

We are currently working on this query. Kindly, attach a sample and the type of selections you have done in order to select the nested tables.

we will update you with solution ASAP.

Regards,
Athiram S

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.

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.

;