3.2.0

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]
February 18,
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)
February 18,
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]
February 20,
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)
February 28,
Try setting the checkbox height to 100% -

.aw-column-1 input {
height: 100%;
margin: 0px;
}
Alex (ActiveWidgets)
February 29,
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
October 23,

This topic is archived.

See also:


Back to support forum