logo       

Re: getCellEditor(int row, int col): msg#00159

java.ulc.devel

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

Etienne,

I do not quite understand, since I also need to know the row. You see the row "yype" determines what Render/Editor to use where one row can be a string render/editor, another row an int render/editor and other a boolean render/editor, etc.

Mario

----- Original Message ----- From: "Etienne Studer" <estuder@xxxxxxxxx>
To: "Mario H. Castillo" <mariohc@xxxxxxxxxxxxxxxxx>; "Ulc-Developer@Canoo. Com" <ulc-developer@xxxxxxxxx>
Sent: Tuesday, July 25, 2006 6:08 PM
Subject: RE: [ULC-developer] 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