logo       

RE: getCellEditor(int row, int col): msg#00158

java.ulc.devel

Subject: RE: getCellEditor(int row, int col)

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: ulc-developer-admin@xxxxxxxxxxxxxxx [mailto:ulc-developer-
> admin@xxxxxxxxxxxxxxx] On Behalf Of Mario H. Castillo
> Sent: Tuesday, July 25, 2006 2:57 PM
> To: Ulc-Developer@Canoo. 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
> ULC-developer@xxxxxxxxxxxxxxx
> http://lists.canoo.com/mailman/listinfo/ulc-developer


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise