From a04561ff3b2f7a8be075e612c64d078f497decab Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 13 Aug 2008 16:36:51 +0000 Subject: [PATCH] Until some way is devised to force min-width on a column, give the title column a set width so it won't get lost in 1024x768. other columns have to be forced to width:'auto' not to get sloughed off the side git-svn-id: svn://svn.open-ils.org/ILS/branches/acq-experiment@10353 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../templates/oils/default/common/jubgrid.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/common/jubgrid.html b/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/common/jubgrid.html index 57b23d67c5..76621b715b 100644 --- a/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/common/jubgrid.html +++ b/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/common/jubgrid.html @@ -57,30 +57,30 @@ pointing to the JUB model (and store) that you have created. } JUBGrid.jubGridLayout = [{ cells: [[ - {name: '${_("ID")}', field: 'id'}, - {name: '${_("Title")}', width: "auto", get:JUBGrid.getJUBTitle}, - {name: '${_("Author")}', get:JUBGrid.getJUBAuthor}, - {name: '${_("ISBN")}', get:JUBGrid.getJUBIsbn}, - {name: '${_("Pubdate")}', get:JUBGrid.getJUBPubdate}, + {name: '${_("ID")}', field: 'id', width:'auto'}, + {name: '${_("Title")}', width: "180px", get:JUBGrid.getJUBTitle}, + {name: '${_("Author")}', get:JUBGrid.getJUBAuthor, width:'auto'}, + {name: '${_("ISBN")}', get:JUBGrid.getJUBIsbn, width:'auto'}, + {name: '${_("Pubdate")}', get:JUBGrid.getJUBPubdate, width:'auto'}, {name: '${_("Actual Price")}', field:'actual_price', get:JUBGrid.getJUBActualPrice, - editor:dojox.grid.editors.Dijit, + editor:dojox.grid.editors.Dijit, width:'auto', editorClass: "dijit.form.CurrencyTextBox" }, {name: '${_("Estimated Price")}', field:'estimated_price', - get:JUBGrid.getJUBEstimatedPrice, + get:JUBGrid.getJUBEstimatedPrice, width:'auto', editor:dojox.grid.editors.Dijit, editorClass: "dijit.form.CurrencyTextBox" }, - {name: '${_("Vendor")}', + {name: '${_("Vendor")}', width:'auto', field: 'provider', get:JUBGrid.getProvider, editor:openils.editors.ProviderSelectEditor, }, - {name: '${_("No. Copies")}', field: 'item_count'}, - {name: '${_("State")}', field: 'state'}, - {name: '${_("PO")}', get:JUBGrid.getPO} + {name: '${_("No. Copies")}', field: 'item_count', width:'auto'}, + {name: '${_("State")}', field: 'state', width:'auto'}, + {name: '${_("PO")}', get:JUBGrid.getPO, width:'auto'} ]] }]; -- 2.11.0