View Full Version : Grid Column - Composite Cell with Dynamic Data

1 Apr 2015, 11:26 PM
I am working on creating a Composite Cell for one of my Grid Columns.

The Expected Behaviour is to have a Input Cell with.
1. button, 2. ComboBox 3. TextBox.
My Cell Can have multiple rows of the above.
Also should be a Add Button in my cell to create a new Row with above three components.

Above is my requirement.

My Questions.
1. How to Render a Composite Cell in my Grid Column.
2. How to handle the Events of Button Click and Combo Box Select within the composite Cell.

I have added a Image of what I have achieved till now.

13 Apr 2015, 10:18 PM
Solved now.

The Problem was with the way I was rendering my Composite Cell.

First the Composite Cell must be rendered and the Cells must be saved in an Array List.
Then depending on the index received while you do a onBrowseEvent the corresponding cells onBrowseEvent must be called.

Also all the events which you want to be captured must be added to the Composite cell in the constructor.

8 Jun 2015, 6:14 AM
I have a similar problem, can you post your code please?

3 Jul 2015, 2:23 PM
I would like to see the code too. I need to do something like that.