Re: Bug with exceptionally long values. - Mailing list pgadmin-support

From Guillaume Lelarge
Subject Re: Bug with exceptionally long values.
Date
Msg-id 4C502E46.4070205@lelarge.info
Whole thread Raw
In response to Re: Bug with exceptionally long values.  (Jeff Adams <jadams@azavea.com>)
Responses Re: Bug with exceptionally long values.  (Michael Shapiro <mshapiro51@gmail.com>)
List pgadmin-support
Le 28/07/2010 13:59, Jeff Adams a écrit :
> The class that I experience the problem with is the ctlSQLGrid, which
> extends wxGrid.  I don't know wxWidgets at all, but in the grid sample class
> they have an example of setting a cell renderer, perhaps you could add a
> cell renderer that changes the background color [or even renders a string
> that says "Sorry, too long!"] based on the strlen?  That should have fairly
> minimal performance impact since it will only affect the N rows being
> actually rendered, not the entire result set.
> 
> The example is /wxWidgets-2.8.11/samples/grid/griddemo.cpp line 299.
> 

Well, I think it would hurt the performance. But, we should check that.
And it would be a pretty good way to show a NULL value.


-- 
Guillaumehttp://www.postgresql.frhttp://dalibo.com


pgadmin-support by date:

Previous
From: Jeff Adams
Date:
Subject: Re: Bug with exceptionally long values.
Next
From: Michael Shapiro
Date:
Subject: Re: Bug with exceptionally long values.