akveo / akveo/ng2-smart-table

how do i route to form via the edit action

Open
#439 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
867
PR merge metrics
No merged PRs in 30d

Description

Hi All
Can somebody here please tell me how to route to a form when I click on edit

I'm trying to use:
onEdit(event: any) {
if (window.confirm('Are you sure you want to edit this?')) {
event.confirm.resolve();
this.router.navigate(['#/pages/quotePortal/operations/company/form']);
} else {
event.confirm.reject();
}
}
and

What am I missing???

Do I have to put something in here:
edit: {
editButtonContent: '',
confirmSave: true,
// edit: false,
saveButtonContent: '',
cancelButtonContent: '',
},

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.