can you use HorizontalAlign on the filter boxes in a datagrid with QfilteredDatagrid

Login or register to post comments
2 replies [Last post]
Offline
Joined: 04/04/2008

Hi.

Since QfilteredDatagrid became part of the QCubed package I am no longer able to affect the Search boxes (filter boxes) that are created. I probably just don't know where to do that since the change. I want to left-align the filter boxes instead their current center-alignment.

Thanks in adfvance

Offline
Joined: 04/22/2009

This should work:

<?php
$objRowStyle
= $this->dtgYourTable->FilterRowStyle;
$objRowStyle->HorizontalAlign = QHorizontalAlign::Left;
?>

Offline
Joined: 04/04/2008

Thanks.

Just could not find in any of the docs. (docs?)

Dave