Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
860
tweaking ultragrid
posted

Hi,

I need some functionality to be able to show some related data in a single row in the data grid. For that I planned to show a data grid in a cell of the grid.

For example below are my classes:

class A

{

    public string A1;

    public string A2;

    public string A3;

    public List<B> A4;

}

class B

{

    public string B1;

    public string B2;

    public string B3;

}

class A with fields A1,A2,A3 & A4 ; another class B with fields B1, B2 & B3.

B1 is the primary key in B with A1 as its foreign key.

I need to show the data for each object of A in a single row including data of field A4 (type is B). So, in the grid I am expecting columns A1,A2,A3 & A4. I planned A4 to show as a combo and that combo will have a grid to show all the data for that field.

1. Is that possible to show a combo for a field in data grid?

2. Is that possible to attach a data grid to that combo box so that to display all the fields of that complex fields in the sub grid?

3. After achieving the above two points I have to ensure that user can select that combo box and change the pair of selected rows from the sub-grid. Also, the user should be able to select the complete row. So, is that possible to have row as well as cell selection (for some specific cells)?

PS: I am using Ultra Win Grid in a windows application.

Thanks in Advance for the help.

 

Parents Reply Children