:: Forum >>

Vertical Alignment for cell containg checkbox

Hi,
We are constructing grid using xml and making checkbox for the column using AW.Formats.Checkbox class.

I have tried the things like:
.aw-grid-control .aw-item-text {
vertical-align: top;
}
or
.aw-column-1 .aw-item-text {
vertical-align: top;
}

But not woking. It always remain at the bottom.
Can you help me out in this.
Kamal Mittal[Fidelity Investments]
Monday, February 18, 2008
If you are using the standard AW.Templates.Checkbox ro CheckedItem templates - the check marker, image and the text should be all automatically aligned in the middle of the cell/row.
Alex (ActiveWidgets)
Monday, February 18, 2008
Hi Alex,
Thanx for reply....
But as i wrote you before, we are making checkbox using AW.Formats.Checkbox class and using <grid reference>.setCellText("<input type='checkbox' name='chk' />",column,row).

Can u give some more inputs.

Rgds,
Kamal

Kamal Mittal[Fidelity Investments]
Wednesday, February 20, 2008
Sorry, I cannot reproduce this. Which cell template are you using? What AW.Formats.Checkbox does (I assume this is your custom formatting class)? From your example I see that there is no text in the cell, only a checkbox control?
Alex (ActiveWidgets)
Thursday, February 28, 2008
Try setting the checkbox height to 100% -

.aw-column-1 input {
height: 100%;
margin: 0px;
}
Alex (ActiveWidgets)
Friday, February 29, 2008
Please!


I need put the thex above the checkbox in the cell

How can I do

(sorry I donĀ“t speak enghish well)
Aida R
Thursday, October 23, 2008

This topic is archived.


Back to support forum

Forum search