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

Whitespace to be added at the beginning of a cell in a listgrid

$
0
0
Hi,

How do i add whitespaces at the beginning of a cell in a listgrid? Please see the attached screenshot. The mandatory field icon highlighted in blue is hidden because I am not able to move the canvas item (text area + search icon) in the staff id column. How do i move the canvas item?

Below is the code that i have used :

ListGridField staffConstituentId = GrantListGridFieldFactory.getListGridField(getDatasource(),GrantDSConstants.GRANT_STAFF_CONSTITUENT_ID, 0);
staffConstituentId.setWidth(145);
quickSearch = new ConstituentProfileQuickSearch(QuickSearch.PERSON_TYPE);
CanvasItem idSearch = new CanvasItem();
idSearch.setCanvas(quickSearch);
quickSearch.setWidth(120);
staffConstituentId.setEditorType(idSearch);
staffConstituentId.setCanEdit(true);

I am using smartgwt version 3.0.

Thank you.

Attached Images
File Type: png MovingCanvasItem.png (6.4 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles