Thnx, but I let me be disagreed

.
For example as an admin you have to edit column_country in datagrid with all your registered visitors and only wrong countries should be edited by combobox. The column_country_cell should be edited if there is a combobox. If no combobox -all is correct. May this is not very usefull sample -but this datagrid. No form.
I will build form in 5 minutes

. But this question as like a puzzle.
My first posts (other login) here were about 5 years ago or vise versa -about AMFPHP. You see I use all this and like your site!
Thank you!
But question is open and I am finding tutorials or solutions. It is generall question -
If (true){draw component in cell of datagrid}else{not}// I understand that dataGrid consists of coulumns, and question is in list of column.
The solution is IMHO in CmboxRenderer class;
It us used in Class that buil dataGrid:
dg.getColumnAt(1).cellRenderer =CmboxRenderer;
Where inside component class ( CmboxRenderer in my situation) stop draw component before check type of data for it. Or other words
- how inside cellRenderer delete itself and leave parent cell's data and format by default?