on 03-06-2007 9:32 AM
hi
if i use the getSelectedCellColumn() method its always return some negative value can you anyone tell me what is the reason.what is the solution for this one
Hi Deva,
In display templates, General Tab, there will be check box with name allow cell selection. That should be enabled. Then only you can use <b>getSelectedCellColumn</b> method.
It is clearly stated in help,
<b>int getSelectedCellColumn()</b>
This method returns the column number for the currently selected cell. It only applies if AllowCellSelection is enabled.
regards
Muzammil P.T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is "allow cell selection" enabled in the iGrid query template? This must be enabled in order for getSelectedCellColumn to return a value.
If you only need to capture a "column" click (not a cell click), use the getSelectedColumn() method instead.
- Rick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a selected row in your grid?
getSelectedCellColumn() on a grid that does not have a selected row may return a -1?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.