
(RSS) |
Nitobi User Forums Nitobi Support Forums
|
Why are the forums locked?
| View previous topic :: View next topic |
| Author |
Message |
mallesh Guest
|
Posted: Fri Dec 29, 2006 6:04 am Post subject: getting column header name or index upon a click on the grid |
|
|
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
|
Posted: Fri Mar 30, 2007 6:44 pm Post subject: |
|
|
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 |
|
 |
|
|
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
|