Show HN: A souped-up HTML-based table
github.com
Show HN: A souped-up HTML-based table
1–10 of 22 posts
Re: Show HN: A souped-up HTML-based table
#2Why the special grid/row/cell tags and special data inpits? Why not just use a vanilla HTML table, then you would at least have graceful degradation?
Re: Show HN: A souped-up HTML-based table
#3Why the special grid/row/cell tags and special data inpits? Why not just use a vanilla HTML table, then you would at least have graceful degradation?
For the XML format? Good point that would be better.
Re: Show HN: A souped-up HTML-based table
#4Why the special grid/row/cell tags and special data inpits? Why not just use a vanilla HTML table, then you would at least have graceful degradation?
For the XML format? Good point that would be better.
Yeah. What I'm thinking is, instead of loading external XML, you could just have something like:
Column 1Column 2Column 3
Item 1Item 2Item 3
new Grid("fancyTable", {
srcType : "html",
srcData : '#fancy-table',
allowGridResize : true,
allowColumnResize : true,
allowClientSideSorting : true,
allowSelections : true,
allowMultipleSelections : true,
showSelectionColumn : true,
fixedCols : 1
});
(This way, if JS is unsupported/the JS code breaks/JS is disabled/slow connection/etc., you'll still see the data)Re: Show HN: A souped-up HTML-based table
#5I'm wondering what the checkboxes are for in the demo.
Re: Show HN: A souped-up HTML-based table
#6I'm wondering what the checkboxes are for in the demo.
Also, why are they checkboxes if I can only select one row? They should be radio buttons. (Cool demo though!)
Re: Show HN: A souped-up HTML-based table
#7I'm wondering what the checkboxes are for in the demo.
Also, why are they checkboxes if I can only select one row? They should be radio buttons. (Cool demo though!)
Thanks! The checkboxes are there for show, no hooks on them in the demo. You can select multiple rows using the checkboxes or the control or shift keys. If the option allowMultipleSelections is false then the checkboxes become radio buttons.
Re: Show HN: A souped-up HTML-based table
#8I'm wondering what the checkboxes are for in the demo.
demoing the "row selected" state, by the look of it.
Re: Show HN: A souped-up HTML-based table
#9Demo in editable form: http://plnkr.co/edit/8uJcHy?p=preview
Re: Show HN: A souped-up HTML-based table
#10HTML? http://goo.gl/uavVx