- Reference
- Client API
- UX
- UX methods
- _ls_deleteKeys Method
- _delayTillPhoneGapReady Method
- _filterList Method
- _findRepeatingSection Method
- _fixAllRepeatingSectionHeaders Method
- _getDirtyLists Method
- _getListForDetailViewControl Method
- _getOnlineStatus Method
- _getRepeatingSectionRowCount Method
- _hasDirtyLists Method
- _isControlInDetailView Method
- _listFetchMore Method
- _listFetchRecordsByKey Method
- _listGetElement Method
- _listMoveAllRows Method
- _listMoveCurrentSelection Method
- _listNavigate Method
- _listNavigateRecord Method
- _listNavigateToPage Method
- _listRefreshCascadingLists Method
- _listRefreshRecordsByKey Method
- _listRefreshRow Method
- _listRemoveAllRows Method
- _listRemoveSelectedRows Method
- _listShiftPositionSelectedRows Method
- _ls_deleteKeys Method
- _ls_getData Method
- _persistFolder Method
- _persistFS Method
- _persistToLocalStorageInitializeKeys Method
- _populateSourceComponent Method
- _prepareRepeatingSection Method
- _primaryKeyListSetKey Method
- _refreshListData Method
- _repeatingSectionLogicalToPhysicalRow Method
- _restoreVariablesFromLocalStorage Method
- _setRepeatingSectionRowCount Method
- _setSimulatedOnlineStatus Method
- _tabInfo Method
- _updateAjaxURL Method
- accordionControl Method
- actionSheet Method
- activateControlContainer Method
- addCustomSchemeForAlphaWkWebView Method
- addRepeatingSectionRow Method
- ajaxCallback Method
- ajaxCallbackCrossDomain Method
- argumentValue Method
- buttonClick Method
- clearLoginErrors Method
- clientSideValidateField Method
- closeContainerWindow Method
- closeCurrentTabbedUIPane Method
- closeWindow Method
- computeSearchFromMetaDataAndFilterList Method
- copyRepeatingSectionRow Method
- copyTextToClipboard Method
- countRecordsToSynch Method
- customSetting Method
- debugInfoToFile Method
- debugInfoToS3 Method
- deleteRecord Method
- deleteRepeatingSectionRow Method
- destroyChildComponent Method
- dropDownMessage Method
- dropDownMessageHide Method
- duplicateRepeatingSectionRow Method
- editorCancel Method
- editorCommit Method
- editorFromControl Method
- editorFromValue Method
- exportChart Method
- fireLayoutRule Method
- formViewClearErrors Method
- formViewCommit Method
- formViewData Method
- formViewGetState Method
- formViewGetViewBox Method
- formViewInvokeEditor Method
- formViewIsDirty Method
- formViewNavigate Method
- formViewNewRecord Method
- formViewRefresh Method
- formViewRow Method
- formViewSetLayout Method
- formViewSetStateVariables Method
- formViewUpdate Method
- formViewValidate Method
- frameOpenStateChange Method
- getChildObject Method
- getConnectionType Method
- getControl Method
- getCurrentEditorSettings Method
- getData Method
- getDateValue Method
- getFromDataCache Method
- getInstanceNumber Method
- getKey Method
- getListClientSideSummaryValue Method
- getListData Method
- getListServerSideSummaryValue Method
- getOrientation Method
- getPanelObject Method
- getParentObject Method
- getPointer Method
- getRepeatingSectionActiveRow Method
- getSessionVariable Method
- getSize Method
- getStateInfo Method
- getStripeResults Method
- getTopParentObject Method
- getValue Method
- getValueDisplay Method
- getWindow Method
- graphQLQuery Method
- graphQLQueryPromise Method
- harvestRepeatingSectionColumn Method
- hideContainerWindow Method
- hideRepeatingSectionColumn Method
- hideWaitMessage Method
- httpFetch Method
- imageIsEmpty Method
- IndexedDB
- inkIsEmpty Method
- instantUpdateCheckForUpdate Method
- instantUpdateRefresh Method
- instantUpdateUseAutoUpdate Method
- jsChartRedraw Method
- jsChartRefreshData Method
- jsChartResize Method
- jsChartSetProperties Method
- json_to_excel Method
- listColumnSelector Method
- listGetValue Method
- loadCSSFile Method
- loadDataFromRepository Method
- loadJavascriptFile Method
- loggedInUserNameFriendly Method
- login Method
- loginStage2 Method
- logout Method
- moveDownRepeatingSectionRow Method
- moveUpRepeatingSectionRow Method
- networkSpeedTest Method
- newRecord Method
- onTimerEventStart Method
- onTimerEventStop Method
- openLookup Method
- panelGet Method
- panelGetActive Method
- panelGetId Method
- panelHeight Method
- panelNavigate Method
- panelRemove Method
- panelSetActive Method
- panelWidth Method
- pdfViewerLoad Method
- persistListColumnLayout Method
- persistListToLocalStorage Method
- persistVariablesToLocalStorage Method
- phoneGapCopyFileURL Method
- phoneGapCreateDirectory Method
- phoneGapCreateDirectoryRecurse Method
- phoneGapCreateFile Method
- phoneGapDeleteFile Method
- phoneGapDeleteFilesNotInListURL Method
- phoneGapDeleteFileURL Method
- phoneGapDownloadManifestFiles Method
- phoneGapEnsureDirPathURL Method
- phoneGapFileExists Method
- phoneGapFileExistsURL Method
- phoneGapFilesAvailable Method
- phoneGapGetDirectory Method
- phoneGapGetDirectoryRecurse Method
- phoneGapGetLocalDirURL Method
- phoneGapListFilesRecurseURL Method
- phoneGapListFilesURL Method
- phoneGapLoaded Method
- phoneGapMoveFileURL Method
- phoneGapReadFile Method
- phoneGapReadFileURL Method
- phoneGapRemoveDirectory Method
- phoneGapRemoveDirectoryRecurse Method
- phoneGapRemoveDirectoryRecurseURL Method
- phoneGapUnzipFiles Method
- phoneGapWriteFileURL Method
- populateControlsFromTable Method
- populateDropdownBox Method
- populateDropdownBoxRepeatingSection Method
- populateExpandingMenuControl Method
- populateMultiSelectTokensControl Method
- populateUXControls Method
- Progress Bar
- readDataCacheItems Method
- refreshCaptcha Method
- refreshChart Method
- refreshClientSideComputations Method
- refreshDataCacheItem Method
- refreshDataSeries Method
- refreshDropdownBoxChoices Method
- refreshExpandingMenuData Method
- refreshListData Method
- refreshListsIncremental Method
- refreshPrimaryKeyList Method
- refreshViewBoxData Method
- resetForm Method
- restoreListColumnLayout Method
- runAction Method
- saveDataInRepository Method
- saveListEdits Method
- selectTabPane Method
- serverIsAvailable Method
- setArgumentValue Method
- setChannel Method
- setClean Method
- setControlDisplay Method
- setCSS Method
- setDirty Method
- setDisabled Method
- setErrors Method
- setFocus Method
- setKey Method
- setListColumnsAndPopulate Method
- setListTemplateAndPopulate Method
- setRepeatingSectionActiveLogicalRow Method
- setRepeatingSectionActiveRow Method
- setRepeatingSectionColumnWidth Method
- setStateInfo Method
- setValue Method
- setValueFrom Method
- showContainerWindow Method
- showWaitMessage Method
- signatureIsEmpty Method
- sortPrimaryKeyList Method
- sortRepeatingSection Method
- stripCustomSchemeForAlphaWkWebView Method
- submit Method
- submitListDataAndMediaFiles Method
- swapRepeatingSectionRows Method
- synchronizeEmbeddedUX Method
- synchronizeLists Method
- tabTimerGoto Method
- tabTimerStart Method
- tabTimerStop Method
- transientMessage Method
- unZoomPanelCard Method
- validate Method
JavaScript
{dialog.object}_ls_deleteKeys Method
Syntax
{dialog.object}._ls_deleteKeys(keys);
Arguments
- keysarrayobject
The list of keys to delete. Can be an array of key values or an object. If the keyObj parameter is an object, it must define a parameter called data that contains the keys. See example(s) below.
Description
Deletes data for the specified keys from Local Storage.
//delete all keys in local storage for other UX components var obj = {dialog.object}._ls_getData('o'); {dialog.object}._ls_deleteKeys(obj);
This example demonstrates creating an array that contains the keys:
var keys = []; keys.push('key1'); keys.push('key2'); keys.push('key3'); {dialog.object}._ls_deleteKeys(keys);
This example demonstrate creating a object that contains the keys:
var obj = {}; obj.data = []; obj.data.push('key1'); obj.data.push('key2'); obj.data.push('key3'); {dialog.object}._ls_deleteKeys(obj);
See Also