Open the example that comes with the repository, drag the “Cell Renderers” folder from this project and drop it into your Xojo Web project. Just so you can start playing with them, I’ve prepared a Free as in Beer suite of Custom Cell Renderers that you can download from GitHub and use in your projects. MessageBox("Deleting row " + row.ToString) For example, if you click on the red delete button of the table we’ve just made, you will be able to write this code to handle that user action: If identifier = "GroupButtonPressed" And value = "delete" Then This means you can react to different actions accordingly. WebListBox comes with a new event called CustomCellAction that will be fired with the row and column pressed, together with the unique identifier sent by the Cell Renderer, and a value.
0 Comments
Leave a Reply. |