added: Delete columns in DataTable

fixed: Now more than one DataTable can be on a page
This commit is contained in:
Doug Bell 2008-11-07 03:32:18 +00:00
parent 78dbd7f5fd
commit d224376d02
6 changed files with 161 additions and 47 deletions

View file

@ -161,7 +161,7 @@ sub getDataTableHtml {
# Progressively enhance the bejesus out of it
$html .= <<"ENDJS";
<script type="text/javascript">
var myDataTable = WebGUI.Form.DataTable( "$id-container", $columnsJson, $optionsJson );
new WebGUI.Form.DataTable( "$id-container", $columnsJson, $optionsJson );
</script>
ENDJS