Hi.
I am currently struggling to get a pick list to be shown with the appearance I want it to.
What I am doing:
a) define new class in load_skin.js
b) on the SelectItem
I would expect that the style applied to the header bar and titles would be the one defined in the load_skin.js, but it seems this is not true.
I have attached a showcase file modified to depict the problem. Unfortunately I could not upload the load_skin.js file due to file size restriction. But the code shown above in a) can be copied/pasted to the showcase load_skin.js file.
Can you shed some lights on what I am doing wrong?
using
smartgwt power 3.1p.2013-11-01
SmartClient Version: v8.3p_2013-11-01/PowerEdition Deployment (built 2013-11-01)
I am currently struggling to get a pick list to be shown with the appearance I want it to.
What I am doing:
a) define new class in load_skin.js
Code:
isc.defineClass("MyListGrid", "ListGrid");
if (isc.MyListGrid) {
isc.MyListGrid.addProperties({
headerHeight: 50,
headerBarStyle: "dummyStyle",
headerTitleStyle:"dummyStyle"
});
}
Code:
...
SelectItem filteredSelect = new SelectItem("a");
filteredSelect.setPickListProperties(getPL());
...
public ListGrid getPL() {
ListGrid grid = new ListGrid();
grid.setScClassName("MyListGrid");
return grid;
}
I have attached a showcase file modified to depict the problem. Unfortunately I could not upload the load_skin.js file due to file size restriction. But the code shown above in a) can be copied/pasted to the showcase load_skin.js file.
Can you shed some lights on what I am doing wrong?
using
smartgwt power 3.1p.2013-11-01
SmartClient Version: v8.3p_2013-11-01/PowerEdition Deployment (built 2013-11-01)
Comment