Donnerstag, 24. November 2011

A checkbox to slave them all...

The checkboxes look nice so far, but I don't like the header "Chk". I would prefer to have a checkbox instead that checks/unchecks all visible checkboxes in that column. One day I came across Duncan Mein's Blog (At this point I would like to thank all the authors of all the wonderful posts I have not mentioned so far) and he gave the hint to replace the Column Heading with the following code.

<input type="Checkbox" onclick="$f_CheckFirstColumn(this)">

So I replaced the Column heading of the column named CHK to receive the following (working) result.


Of course I had to unselect all "Allow Users To" funtcions to ged rid of some freaky behaviour

Keine Kommentare:

Kommentar veröffentlichen