3.2.0

Not able to increase Grid's row height

Hi

I tried to insert some text into a Grid Row and increase the Row height so that the added text is visible. Altough i was able to append text perfectly but the height of Grid remained unchanged.
The code written follows:-
var origRowDivs = new Array(100);
sourceElement=obj_MySummaryGrid.element();
selectedRowIndex=obj_MySummaryGrid.getSelectionProperty ("index")
fullRow=obj_MySummaryGrid.getProperty ("row/template",selectedRowIndex);
fullRowElement=fullRow.element();
if(origRowDivs[selectedRowIndex] == null) {
origRowDivs [selectedRowIndex]=fullRowElement.innerHTML;
fullRowElement.innerHTML="<DIV>"+fullRowElement.innerHTML+'<DIV style="position:relative;background:#ffccff;width:100% ">Hi There</DIV></DIV>';
}else {
fullRowElement.innerHTML=origRowDivs [selectedRowIndex];
origRowDivs[selectedRowIndex]=null;
}
fullRowElement.getTemplate(\"layout\").action(\"adjustSize\");
Rachit Agarwal
January 28,
Hi,
I am trying to hide rows using
gridObj.setProperty("row/values", indexes);

for filtering.
But this gives me problem when i any Input/Select Template in my grid. If I edit the value of input/select box (by editing this). And if I call the setProperty("row/values", indexes). All the cell values in the grid change to the newly entered value.
Is it a bug. Do we have a work around for this.
Sai gopal
July 29,

This topic is archived.

See also:


Back to support forum