Answers for "serenity-is change button text"

0

serenity-is change button text

// in EntityGrid.ts
protected getButtons() {
  var buttons = super.getButtons();
  var btn = Q.first(buttons, x => x.cssClass == "add-button");
  if(btn) btn.title = "New Custom Entity Button Title";
  return buttons;
}
Posted by: Guest on October-04-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language