Re: [vcl4php-developers] dbgrid.inc.php
Brought to you by:
ttm
|
From: Gary <z0...@40...> - 2008-12-27 21:00:39
|
Still tinkering... :) I just surfaced an ability to make a font change in dbgrids rows. 405hp.net/comparevcl/compare_font.php This isn't a pretty demo but it works. I've been wanting this for a year and it just jumped out at me today when I wasn't looking... I'm kind of excited. :) Currently this just does a straight multiplication of the base font and row size in pixels but now the entire style sheet has opened up. I think anything you can do with a label with normal css can now be done in the grid as long as you can figure out what height to make the rows. The other thing to look at here is bitButton not working correctly. Open this in both FF and IE and the behaviors are different from the plain buttons. The buttons js events checks for a number smaller than 1 and pops an alert so test with .5 in the textedit. The button pairs share the same events plain button with bitbutton. The bitbuttons post when they shouldn't. And for further discussion: I think the component tree should actually be built differently. I think it should start with qwidget and then a basic table that just creates everything up to the columns and rows and then fork into listview - dbgrid - and future grids (like remote paged grids) that add the columns and rows and things like dbawareness, ajax updates and such. |