on ‎2007 Nov 20 12:59 PM
Hi,
i want to retrieve particular row value in iGrid by making search for particular cell value. for example
name no
==== ==
S1 1
S2 2
i want to retrieve all cell values for S2. but i dont know S2 row number and its also not selected row. without any selection i want pass S2 name into iGrid and want to retrieve no 2. how to do it?
-senthil
Request clarification before answering.
hi,
Try following thing
var gObj = document.GridName.getGridObject();
var count = gObj.getRowCount();
var result;
for(i=1; i<=count; i++)
{
var check = gObj.getCellValue(i,1);
if (check == "S2")
{
result= gOBJ.getCellValue(i,2);
}
}Here, "result" will store the value 2.
Hope this helps.
Regards,
Musarrat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 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.