{"record":{"id":"466205bcd76b9466","repo":"octobercms/october","slug":"the-table-client-side-data-source-class-datasour","errorCode":null,"errorMessage":"The table client-side data source class \"{dataSourceClass}\" is not found in the $.oc.table.datasource namespace.","messagePattern":"The table client-side data source class \"(.+?)\" is not found in the \\$\\.oc\\.table\\.datasource namespace\\.","errorType":"console","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"modules/backend/widgets/table/assets/js/table.js","lineNumber":149,"sourceCode":"            var column = this.options.columns[i].key\n\n            this.cellProcessors[column].dispose()\n            this.cellProcessors[column] = null\n        }\n\n        this.cellProcessors = null\n        this.activeCellProcessor = null\n    }\n\n    Table.prototype.setColumnConfiguration = function(column, options) {\n        this.cellProcessors[column].columnConfiguration = { ...this.cellProcessors[column].columnConfiguration || {}, ...options };\n    }\n\n    Table.prototype.createDataSource = function() {\n        var dataSourceClass = this.options.clientDataSourceClass\n\n        if ($.oc.table.datasource === undefined || $.oc.table.datasource[dataSourceClass] == undefined)\n            throw new Error('The table client-side data source class \"'+dataSourceClass+'\" is not ' +\n                'found in the $.oc.table.datasource namespace.')\n\n        this.dataSource = new $.oc.table.datasource[dataSourceClass](this)\n    }\n\n    Table.prototype.registerHandlers = function() {\n        this.el.addEventListener('click', this.clickHandler);\n        this.el.addEventListener('keydown', this.keydownHandler);\n        this.$el.one('dispose-control', this.disposeBound);\n\n        document.addEventListener('click', this.documentClickHandler);\n\n        if (this.options.postback && this.options.clientDataSourceClass == 'client') {\n            this.$el.closest('form').bind('oc.beforeRequest', this.formSubmitHandler);\n        }\n\n        var toolbar = this.getToolbar();\n        if (toolbar) {","sourceCodeStart":131,"sourceCodeEnd":167,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/widgets/table/assets/js/table.js#L131-L167","documentation":"Error \"The table client-side data source class \"{dataSourceClass}\" is not found in the $.oc.table.datasource namespace.\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/backend/widgets/table/assets/js/table.js:149 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b608633a7e8922487d91a8161499020121c3b3bf","analyzedAt":"2026-08-21T04:24:57.515Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}