Hi,

The way I did something similar was to make it a string column and have
the cell renderer's Edited event handler check that the new string is a
valid double. If so, you can format it yourself with the double's
.toString("F6") (IIRC).

Another way would be to define your own rendering methods, but I can't
really remember how that story goes.

Anyway... hope this helps and good luck!

Walter

Martin (OpenGeoMap) wrote:
> Hi all:
>
> It´s posible edit the cellrender for doubles??
>
> Always put 6 decimals. Can i modify that??
>
> Any tips appreciated.
>
>
> Regards.
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
>
>   

_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to