Hide list form on startup and add edit button next to new button to display list form. #5631
-
Beta Was this translation helpful? Give feedback.
Answered by
minhhungit
Apr 14, 2021
Replies: 1 comment
-
@shortsam1 if you are on deadline you can hire me 😁 , hehe, just kidding To remove button you can add code in grid.ts file, check sample code here buttons.push({
title: 'YOUR CUSTOM BUTTON',
cssClass: 'your-custom-button',
icon: "fa-home",
onClick: () => {
// do something here
}
}); To hide grid (purple box) you can use this code: constructor(container: JQuery) {
super(container);
this.element.find(".grid-container").hide(); // add this line
} good luck |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
shortsam1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@shortsam1 if you are on deadline you can hire me 😁 , hehe, just kidding
To remove button you can add code in grid.ts file, check sample code here
That code shows how to remove button, you can add new button like this:
To hide grid (purple box) you can use this code:
good luck