Customize query problem | jeckels | 2015-05-06 20:18 |
Status: Closed | ||
Hi Anny, If you want to have a checkbox whose value is controlled by the value stored in the underlying database, and to have it automatically save changes as the user click/unclicks it, you will need to do something like what you'll find in our source code at: server/modules/experiment/src/org/labkey/experiment/controllers/exp/ExperimentMembershipDisplayColumnFactory.java If you haven't already grabbed the LabKey Server source code, you can find it here: https://www.labkey.org/wiki/home/Documentation/page.view?name=sourceCode or check out directly from Subversion using the information here: https://www.labkey.org/wiki/home/Documentation/page.view?name=svn If you just want a checkbox that allows you to select data rows like you can for many of the built-in tables, you may be able to accomplish this using a LABKEY.QueryWebPart and setting showRecordSelectors to true. https://www.labkey.org/download/clientapi_docs/javascript-api/symbols/LABKEY.QueryWebPart.html#constructor Thanks, Josh |
||