persistent assay result domain buttons | Ben Bimber | 2010-07-06 06:55 | |||||||||
Status: Closed | |||||||||||
I have an assay and I would like to customize the buttons that appear in a QWP when loading the result domain of an assay. There's two approaches I know to do this, both of which work on the Run or Batch domains: 1. override metadata for that query 2. define buttons when loading a QWP. ie: EHR.Assay.results = function(){ EHR.Assay.showButtonBar(LABKEY.page.assay); var wp = new LABKEY.QueryWebPart({ renderTo:"webPart" ,schemaName: "assay" ,queryName: LABKEY.page.assay.name+" Data" ,frame: 'none' ,buttonBar: { includeStandardButtons: false, items:[ LABKEY.QueryWebPart.standardButtons.insertNew, LABKEY.QueryWebPart.standardButtons.views, LABKEY.QueryWebPart.standardButtons.exportRows, LABKEY.QueryWebPart.standardButtons.print, LABKEY.QueryWebPart.standardButtons.pageSize ] } }).render(); } The above approach works on everything but assay results. I know this topic has come up once before, but is there any way to get around that? thanks for the help. |
|||||||||||
| |||||||||||