No DIV/TABLE Tags In Cell?
So, this may be obviously stated somewhere in the docs, but given:
obj.setHeaderText( "<span id=myInput3>" + myInput + myButton + "</span>", 3, 1);
obj.setHeaderText( "<div id=myInput3>" + myInput + myButton + "</div>", 3, 1);
obj.setHeaderText( "<table id=myInput3><tr><td>" + myInput + myButton + "</td></tr></table>", 3, 1);
Seems like <span> works, but <div> and <table> do not? Why?
There is also a 'simple' template (AW.Templates.Cell) which does not have extra elements, so using it with <div> or <table> should be ok.
Actually if you inject the html markup (instead of plain text) I would recommend using AW.Templates.Cell instead of default AW.Templates.Text cell template.
I'm trying to understand the best way to have a second header row where I can add one or two input items and an "Apply" button. The template classes don't cut it, because they are setup for applying a single input type to a cell.
Is there a "best way"?
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.