Skip to content

Migrate ABViewGrid#722

Open
benthongtiang wants to merge 3 commits into
masterfrom
ben/grid
Open

Migrate ABViewGrid#722
benthongtiang wants to merge 3 commits into
masterfrom
ben/grid

Conversation

@benthongtiang
Copy link
Copy Markdown
Contributor

Migrated the Grid View to the new plugin architecture and resolved a critical crash in the List data field when handling empty selections.

Relate PR.
CruGlobal/plugin_ABDesigner#349
CruGlobal/appbuilder_class_core#343

@benthongtiang benthongtiang added the patch Tag Pull Requests to trigger a patch version update label May 15, 2026

const verticalScrollState = $DataTable.getScrollState().y,
rowHeight = $DataTable.config.rowHeight,
height =
if (!CurrentObject) return;

if (settings.isEditable === 0) {
const items = $DataTable.getItem(id);

const updateRow = async () => {
try {
const response = await CurrentObject.model().update(
* @param {event} event
*/
async onAfterColumnDrop(sourceId, targetId, event) {
const $DataTable = this.getDataTable();
*/
async onAfterColumnDrop(sourceId, targetId, event) {
const $DataTable = this.getDataTable();
const CurrentObject = this.datacollection.datasource;
@github-actions
Copy link
Copy Markdown
Contributor

Lighthouse Performance Report

Metrics





📄Full Report
Note: Above values are an average of 3 reports, only the last report was uploaded.

dc.on("loadData", this.__handler_dc_loadData);
this.grouping();

this._isDatacollectionLoad = true;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this _isDatacollectionLoad supposed to be the same as _isDatacollectionLoaded from line 147?
Also in line 993 in the component file

selectRow(rowData) {
let id = rowData?.id ?? rowData;
if (this.__timeout_selectRow) {
console.log("Duplicate selectRow():", id);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

console.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Tag Pull Requests to trigger a patch version update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants