I have a grid and I need to add a delete button, to remove a row. I can find the js code for the handler easily online, but what are the steps to create a button in Architect?
So far I clicked on MyGridPanel > Columns + > Action Column
and it created MyActionColumn but how do I specify a delete button with a trash can? thank you
The action column works the same way as any other component in Sencha Architect. You can select the action Column, Drag it and drop it into the Grid's column. To add another button in the action column (it comes with 2 items already), drag and drop an action column item into the action columns.
OK maybe I'm missing something but I already said that I created the action column. How do I create a BUTTON ? I can see the icon I specified displayed inside the column but I WANT TO BE ABLE TO CLICK ON IT. It isn't clickable now.
OK maybe I'm missing something but I already said that I created the action column. How do I create a BUTTON ? I can see the icon I specified displayed inside the column but I WANT TO BE ABLE TO CLICK ON IT. It isn't clickable now.
The button inside the action column is the action column item. You can set an icon to it (iconCls property) so you can see it when you execute the app.