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

tilegrid:overlapping with chrome and do not load all data with firefox

$
0
0
hi,
*i use smartgwt3.1
i have a hometab (tab) and i try to add tilegrids to this homeTab.

* every time when i add tilegrid to this hometab there is an rpc to load data from mysql database (add tilegridRecords)

*the problem is with chrome(Version 28.0.1500.63) there is an overlapping with component of different tilesGrid(my Queries and GateLab). and with firefox(version 22.0) My queries tileGrid do not display all components it diplay only one line of componenet.

*The problem resolved when I resize the browser

this is a part of my code to see how i create my tileGrid.
public abstract class ApplicationsTileGrid extends TileGrid {
public ApplicationsTileGrid(String tileName) {
this.tileName = tileName;
this.setTileWidth(120);
this.setTileHeight(120);
this.setOverflow(Overflow.VISIBLE);
this.setBorder("0px");
this.setCanReorderTiles(true);
this.setShowAllRecords(true);
this.setAnimateTileChange(true);
this.setShowEdges(false);
this.setAutoHeight();
DetailViewerField imageField = new DetailViewerField("picture");
imageField.setType("image");

DetailViewerField commonNameField =new DetailViewerField("applicationName");
DetailViewerField applicationVersion = new DetailViewerField("applicationVersion");
commonNameField.setCanHilite(false);
this.setFields(imageField, commonNameField, applicationVersion);
this.setData(new ApplicationTileRecord[]{});




is it a problem of rpc ?

Attached Images
File Type: png CHROME_OVERLAPPING.png (21.3 KB)
File Type: png after_resize_page.png (20.1 KB)
File Type: png firefox.png (16.2 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles