CC-3174 : show builder

made sure the column reordering/visibility selection works with
modified show header/footer rows (their td spans the entire tr)
This commit is contained in:
Naomi Aro 2012-01-26 15:21:04 +01:00
parent ecaebbeb67
commit b0c3bace1c
9 changed files with 261 additions and 70 deletions

View file

@ -1,11 +1,11 @@
function dtRowCallback( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
function fnLibraryTableRowCallback( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
$(nRow).attr("id", aData["id"]);
return nRow;
}
function dtDrawCallback() {
function fnLibraryTableDrawCallback() {
addLibraryItemEvents();
addMetadataQtip();
//saveNumEntriesSetting();
@ -33,4 +33,3 @@ function setupLibraryToolbar() {
'<span class="fg-button ui-button ui-state-default ui-state-disabled" id="library_group_delete">Delete</span>' +
'<span class="fg-button ui-button ui-state-default ui-state-disabled" id="library_group_add">Add</span>');
}

View file

@ -1,4 +1,4 @@
function dtRowCallback( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
function fnLibraryTableRowCallback( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
$(nRow).attr("id", aData["id"]);
@ -7,7 +7,7 @@ function dtRowCallback( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
return nRow;
}
function dtDrawCallback() {
function fnLibraryTableDrawCallback() {
addLibraryItemEvents();
//addMetadataQtip();
//setupGroupActions();
@ -28,4 +28,7 @@ function addLibraryItemEvents() {
{id: getId, type: getType},
{xposition: "mouse", yposition: "mouse"});
}
function setupLibraryToolbar() {
}