This is a migrated thread and some comments may be shown as answers.

Determing what column is clicked on?

1 Answer 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Warren
Top achievements
Rank 1
Warren asked on 09 Jun 2015, 06:03 PM

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

 

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 12 Jun 2015, 03:25 PM
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
Tags
Grid
Asked by
Warren
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or