Forums

Forums / Developing Portals / Add custom button on CRM sub grid

Add custom button on CRM sub grid

Thread is closed for posting
2 posts, 1 answered
  1. smehdi
    smehdi avatar
    40 posts
    Registered:
    23 Mar 2015
    20 Jul 2015
    Link to this post
    I would like to add a custom button on the grid through which my goal is to implement a slightly different version of the Add New functionality. This way users will be able to add records to the grid in the normal (Add new way) way as well as through an enhanced experience (using the custom button).
  2. Clinton Bale
    Clinton Bale avatar
    126 posts
    Registered:
    21 Feb 2014
    Answered
    20 Jul 2015 in reply to smehdi
    Link to this post
    Hello Shan,

    Adding a custom button to the grid that does custom server-side functionality is not available unless you decide to create a custom grid widget that can accomplish this task.

    However you can modify the template to include another tool bar button that does custom client-side logic using JavaScript, but this is extremely limited and you would not be able to replicate the Add-New functionality with this button.

    Please take a look at the sub-grid view template, at the bottom there is JavaScript code that defines how the sub-grid interacts with the RadWindow. There may be enough information there that will allow you to customize the grid to your liking. 

    Regards,
    Clinton
    Last modified on 20 Jul 2015 19:07 by Clinton Bale
2 posts, 1 answered