• Approach 1
    • Use the array grid example in your packaged download array-grid.js
    • Add an extra column to the column model definition and a custom renderer.

    • Then you would setup an event handler on the click event.

    • Add the following CSS rule in array-grid.html to give some padding and change the cursor.

    • Using this same method you could add as many tools as
      you would like in the controls section and always give them the css
      class “controls_{toolname}”. Ideally you would break this out into an
      XTemplate so that you could simply pass in whatever tools you would
      like to use and output them on the grid as well.

  • Approach 2 utilizes a plugin as discussed here :

Leave a Reply

电子邮件地址不会被公开。 必填项已用*标注