Fábio Matte Posted March 1, 2023 Share Posted March 1, 2023 Good Evening, how can I translate or change the Caption of these buttons that are loaded when using the RowEditor function in the DBGrid? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 1, 2023 Share Posted March 1, 2023 Hello, Have you tried searching the forum? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 1, 2023 Share Posted March 1, 2023 2 hours ago, Sherzod said: Have you tried searching the forum? This one for example: Quote Link to comment Share on other sites More sharing options...
Fábio Matte Posted March 1, 2023 Author Share Posted March 1, 2023 10 hours ago, Sherzod said: Hello, Have you tried searching the forum? I looked it up but couldn't find the correct search term, thanks for the tip. Quote Link to comment Share on other sites More sharing options...
picyka Posted March 1, 2023 Share Posted March 1, 2023 12 minutos atrás, Fábio Matte disse: Eu procurei, mas não consegui encontrar o termo de pesquisa correto, obrigado pela dica. Quote Link to comment Share on other sites More sharing options...
Fábio Matte Posted March 1, 2023 Author Share Posted March 1, 2023 Thank you very much, resolved: Here's a mini tutorial to help anyone who comes in the future. Tutorial: 1º ClientEvents > ExtEvents in DBGrid: Code: function afterrender(sender, eOpts) { var edPl=sender.editingPlugin; if (edPl && edPl.isRowEditor) { edPl.saveBtnText='Confirmar!'; edPl.cancelBtnText='Cancelar!'; }; } 2º Ext.grid.Panel > AfterRender: 3º - Result: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.