You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a master table called Fs and a grid editor named FsLines inside it. In FsLines, I have a parent_line_id, and I need to display it in a tree model.
I have already implemented the tree model successfully, and when I open the dialog, it displays the values correctly. However, the edit and delete buttons are not working—clickable actions are not functioning properly.
import { FSForm, FSLinesRow, FSRow, FSService } from '@/ServerTypes/Transactions';
import { Decorators, EntityDialog, createEntityDialog } from '@serenity-is/corelib';
import { FSLinesDialog } from '@/Transactions/FSLines/FSLinesDialog';
import { Grid } from '@serenity-is/sleekgrid';
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a master table called Fs and a grid editor named FsLines inside it. In FsLines, I have a parent_line_id, and I need to display it in a tree model.
I have already implemented the tree model successfully, and when I open the dialog, it displays the values correctly. However, the edit and delete buttons are not working—clickable actions are not functioning properly.
import { FSForm, FSLinesRow, FSRow, FSService } from '@/ServerTypes/Transactions';
import { Decorators, EntityDialog, createEntityDialog } from '@serenity-is/corelib';
import { FSLinesDialog } from '@/Transactions/FSLines/FSLinesDialog';
import { Grid } from '@serenity-is/sleekgrid';
@Decorators.registerClass('KHCB.Transactions.FSDialog')
export class FSDialog extends EntityDialog<FSRow, any> {
protected getFormKey() { return FSForm.formKey; }
protected getRowDefinition() { return FSRow; }
protected getService() { return FSService.baseUrl; }
protected form = new FSForm(this.idPrefix);
}
Beta Was this translation helpful? Give feedback.
All reactions