Customize query problem

LabKey Support Forum (Inactive)
Customize query problem Will Holtz  2015-05-12 08:14
Status: Closed
 
I was able to get this functionality with a little bit of javascript calling LABKEY.ext.EditorGridPanel(). However, this is a depreciated function. You should be able to get similar results using Ext.grid.EditorGridPanel().

<script type="text/javascript">
    var _grid;
    Ext.onReady(function(){
        _grid = new LABKEY.ext.EditorGridPanel({
            store: new LABKEY.ext.Store({
                schemaName: 'MySchema',
                queryName: 'MyQuery',
            }),
            renderTo: 'grid',
            editable: true
        });
    });
</script>
<div id='grid'/>