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.
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.