Determing what column is clicked on?

2 posts, 0 answers
  1. Warren
    Warren avatar
    61 posts
    Member since:
    Aug 2013

    Posted 09 Jun 2015 Link to this post

    Hello,

    I would like to click on a column in the grid with data and popup a menu to do something with that column of data. To do this do I have to click on a cell with data? Or can it be done with the header? I have the sort turned on for when they click a column header so I guess they need to click on any cell of data right? There is no particular row of data being used. The routines are going to use all of the data in the column. Also, what is the best way to show a menu? I would prefer the menu be near where I clicked. Is that possible for asp.net?

    Thanks,

    Warren

     

  2. Eyup
    Admin
    Eyup avatar
    3757 posts

    Posted 12 Jun 2015 Link to this post

    Hi Warren,

    You can check the following live sample to achieve this requirement:
    http://demos.telerik.com/aspnet-ajax/grid/examples/columns-rows/columns/context-menu/defaultcs.aspx#

    If you plan to implement editing later on, you can also examine these demos:
    1. PopUp edit mode provided by RadGrid:
    http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/edit-form-types/defaultcs.aspx


    2. RadWindow:
    http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window
    http://demos.telerik.com/aspnet-ajax/window/examples/internalcontent/defaultcs.aspx


    3. RadToolTip:
    https://demos.telerik.com/aspnet-ajax/tooltip/examples/targetcontrolsandajax/defaultcs.aspx?product=tooltip


    Hope this helps.

    Regards,
    Eyup
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top