Hi Mario

I recommend to add a renderer/editor to each column explicitly. This
way, you can easily pass the column id or something else that is unique
in the constructor of the renderer/editor.

ULCTableColumn#setCellRenderer(ITableCellRenderer)
ULCTableColumn#setCellEditor(ITableCellEditor)

We use this approach and I feel quite comfortable with it since it gives
me full control.

Regards, Etienne



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:ulc-developer-
> [EMAIL PROTECTED] On Behalf Of Mario H. Castillo
> Sent: Tuesday, July 25, 2006 2:57 PM
> To: [EMAIL PROTECTED] Com
> Subject: [ULC-developer] getCellEditor(int row, int col)
> 
> Hello,
> 
> I am pretty sure you answered these question dozen of times before, in
> Swing
> I can augment the function "TableCellEditor getCellEditor(int row, int
> col)"
> in order to create a TableCellEditor per row/col rather than  column
> based,
> in my case I need to know the row also.
> 
> How do I do this in ULC?
> 
> Mario
> 
> _______________________________________________
> ULC-developer mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/ulc-developer
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to