Issue
in a Grid example of 2012 the grid border is simply set with:
TableElement _table;
_table = new Element.tag("table");
_table.border="1";
unfortunaltly border is no longer (running vers. 1.1.1) a setter in DART’s TableElement class. Leaving it out results in a table without borders.
How do I set a border?
Solution
TableElement _table = new TableElement()
..setAttribute('border','1');
querySelector('body').append(_table);
or this should work also… I think
querySelector('body').append(new TableElement().setAttribute('border','1'));
Answered By – doodeec
Answer Checked By – Cary Denson (FlutterFixes Admin)