Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGrid style

    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 Files
    Last edited by bc; 17 Apr 2014, 21:30.

    #2
    Adding the suffix 'Over' (.ftTextOver) to the style fixed the issue.

    Comment

    Working...
    X