Nitobi User Forums Forum Index

    (RSS)
Nitobi User Forums
Nitobi Support Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

getting column header name or index upon a click on the grid

 
       Nitobi User Forums Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
mallesh
Guest





PostPosted: Fri Dec 29, 2006 6:04 am    Post subject: getting column header name or index upon a click on the grid Reply with quote

Hi,
i can get the column name which is specified as:

var myGridDom = document.getElementById('myGrid');
var myGridObj = myGridDom.object;
var colName= myGridObj.getColumnObject(4).getColumnName();

in the variable colName i will get the 4th column name as i specified the column index as 4.
But i want to get the respective column name or column index when i click on the grid header. i.e, i want to get the column name or column index of the header which i click.

kindly reply ASAP.
Back to top
joe_nitobi



Joined: 19 Feb 2007
Posts: 301

PostPosted: Fri Mar 30, 2007 6:44 pm    Post subject: Reply with quote

Hello

This looks like Grid V3 code. If you are still having this issue, I would advise you to post it in the new Complete UI grid forum.

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
       Nitobi User Forums Forum Index -> General Questions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group