Re: Bug with exceptionally long values.
От | Michael Shapiro |
---|---|
Тема | Re: Bug with exceptionally long values. |
Дата | |
Msg-id | AANLkTin5hTxKcxdqiyvYM+jajG7=bT70zdSwTMP-YQck@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Bug with exceptionally long values. (Guillaume Lelarge <guillaume@lelarge.info>) |
Ответы |
Re: Bug with exceptionally long values.
|
Список | pgadmin-support |
I think changing the background but leaving the current value "as is" is better than changing the value. That way you indicatethat the value is there (and can be retrieved with copy/paste) but that you can't show it (and perhaps add a pop-uphint when the mouse is moved over the cell)<br /><br /><div class="gmail_quote">On Wed, Jul 28, 2010 at 8:19 AM, GuillaumeLelarge <span dir="ltr"><<a href="mailto:guillaume@lelarge.info">guillaume@lelarge.info</a>></span> wrote:<br/><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left:1ex;"> Le 28/07/2010 13:59, Jeff Adams a écrit :<br /> > The class that I experience the problem with isthe ctlSQLGrid, which<br /> > extends wxGrid. I don't know wxWidgets at all, but in the grid sample class<br /> >they have an example of setting a cell renderer, perhaps you could add a<br /> > cell renderer that changes the backgroundcolor [or even renders a string<br /> > that says "Sorry, too long!"] based on the strlen? That should havefairly<br /> > minimal performance impact since it will only affect the N rows being<br /> > actually rendered,not the entire result set.<br /> ><br /> > The example is /wxWidgets-2.8.11/samples/grid/griddemo.cpp line299.<br /> ><br /><br /> Well, I think it would hurt the performance. But, we should check that.<br /> And it wouldbe a pretty good way to show a NULL value.<br /><font color="#888888"><br /><br /> --<br /> Guillaume<br /> <a href="http://www.postgresql.fr"target="_blank">http://www.postgresql.fr</a><br /> <a href="http://dalibo.com" target="_blank">http://dalibo.com</a><br/></font></blockquote></div><br />
В списке pgadmin-support по дате отправления: