Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

ListGrid style

$
0
0
I have a couple of questions on ListGrid style. Please refer to the attachment. I am trying to get rid of the dotted border and the highlighting of the column title as shown. The column title is shown that way on mouseover. Here is how I define the listgrid. I am using a nightly build of SmartGwt 3.1p.

Code:

        ListGrid lg = new ListGrid();
        lg.setWidth(400);
        lg.setAutoHeight();
        lg.setBorder("0px");
        lg.setHeaderBaseStyle("ftText");
        lg.setHeaderTitleStyle("ftText");
        lg.setShowAllRecords(true);
        lg.setCellHeight(22);
        lg.setCanSort(false);
        lg.setCanReorderFields(false);
        lg.setCanReorderRecords(false);
        lg.setCanAutoFitFields(false);
        lg.setCanGroupBy(false);
        lg.setCanFreezeFields(false);
        lg.setCanEdit(true);
        lg.setAutoFitData(Autofit.VERTICAL);
        lg.setRedrawOnResize(true);
        lg.setEditEvent(ListGridEditEvent.CLICK);
        lg.setListEndEditAction(RowEndEditAction.NONE);
        lg.setOverflow(Overflow.VISIBLE);
        lg.setScrollbarSize(0);

The style referenced above is defined as
.ftText {
        font-size: 0.7em;
        font-family: 'century gothic';
        color: #747;
}

Any tips on how to accomplish this?
Thanks.

Attached Images
File Type: jpg listgrid.JPG (12.5 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles