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

[Solved] How to find clicked cell column headertext in client side

0 Answers 132 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Suresh K
Top achievements
Rank 1
Suresh K asked on 11 Jan 2010, 05:18 AM
hi.
i am using hierarchy radgrid.
here i want to know the clicked cell header text in client side.
when i right click on the cell i want to get the clicked cell column name.

can any one help me how to do this task.

using this code i am able to getting the cell index.but i can't able to getting the column header text.

function RowContextMenu(sender, eventArgs)  
        if (eventArgs.get_tableView().get_name() == "PRRequests")  
                {  
                    if (eventArgs.get_domEvent().target.tagName == "TD") 
                    { 
                    alert(eventArgs.get_domEvent().target.cellIndex);  
                    //alert(eventArgs.get_gridColumn().get_uniqueName()); 
                    } 
                }  
 
"PRReuests" is the Detail Table Name.

Thank You
Suresh K



No answers yet. Maybe you can help?

Tags
Grid
Asked by
Suresh K
Top achievements
Rank 1
Share this question
or