|
Hello
Nash,
I have
implemented this successfully with:
<c:set var="checkboxAll" value=" <input type=\"checkbox\"
name=\"uberCheckbox\" document.MyForm);\"
tabindex=\"1\">" />
<displaytag-el:table.....>
<displaytag-el:column property="cbData"
headerStyleClass="myHeaderStyle" title="${pageScope.checkboxAll}
Select" decorator="com.CheckBoxColumnDecorator"
/>
And a
_javascript_ function in the _javascript_ file:
function allCheck(leadCheckbox, formElement)
{ var state = leadCheckbox.checked; for (i=0; i<formElement.elements.length; i++) { var fElement = formElement.elements[i]; if ("checkbox" == fElement.type) { fElement.checked = state; } } }
|
Title: Message
- [displaytag-user] CheckBox functionality Nash M
- Thompson, Mike (ETW)

