[Webkit-unassigned] [Bug 38664] Web Inspector: add a "table" method to console, to allow output of tabular data

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 15 05:45:37 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38664





--- Comment #44 from Patrick Mueller <pmuellr at yahoo.com>  2010-06-15 05:45:36 PST ---
(In reply to comment #43)
> Please use WebInspector.DataGrid for this, not a hand-made table. 

It would be great to be able to reuse this, but I don't think I can in it's current shape.  It seems to be designed to work against a fixed width, which doesn't work well for narrow tables (the columns are too wide) nor for wide tables (the columns are too narrow).  Attempts to work around this (override the width=100% on the table) this complicate the width calculations between the header and body, making them unaligned.  The separation of the header/body into separate tables seems to be to allow the body to scroll through a fixed height, which again, doesn't really work for these tables, and so the header/body separation isn't even needed for this case.

I suspect DataGrid can be refactored to handle these use cases, but I don't want to pre-req that to get the first release of table.console() in.  Or someone can tell me how to produce tables with it, that look like the ones in the proposal here: http://muellerware.org/papers/console-table.html

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list