나는 Smart gwt에 새로운 꿀벌이다. 는 기본적으로 내 데이터 구조를 가지고 :Smart gwt의 ListGrid에서 열을 행으로 표시하는 방법은 무엇입니까?
| _____ B1
|__C1
|__C2
|__C3
| _ 다음과 같이 B2
그래서 난 내 ListGridRecord을 만들었습니다
공개 VEPAreaRecord 클래스는 ListGridRecord를 확장합니다. {
public VEPAreaRecord(){
}
/**
* @param vepAreaName
* @param checkStations
*/
public VEPAreaRecord(String vepAreaName, String[] checkStations) {
setVepAreaName(vepAreaName);
setCheckStations(checkStations);
}
/**
* @return the vepAreaName
*/
public final String getVepAreaName() {
return getAttribute("vepAreaName");
}
/**
* @param vepAreaName the vepAreaName to set
*/
public final void setVepAreaName(String vepAreaName) {
setAttribute("vepAreaName",vepAreaName);
}
/**
* @return the checkStations
*/
public final String[] getCheckStations() {
return getAttributeAsStringArray("checkStations");
}
/**
* @param checkStations the checkStations to set
*/
public final void setCheckStations(String[] checkStations) {
setAttribute("checkStations",checkStations);
}
}
하지만 내 ListGrid에서 나는
확인 1의 CHECK2의 chek3
check4
check5에게
지역 1 에리어로
그래서를 AREA3을 내 데이터를 표시 TP합니다 기본적으로 내가 원하는 것은 displa이다. y 행을 열로, 그 반대의 경우도 마찬가지입니다. 그러나 나는 이것을 습득하는 방법을 모른다. 아니면 이것을 처리하는 다른 구성 요소가 있습니까?
안녕, 출력이 될 것이다 나는 그것을 듣고. 위의 부여 됨으로써에서
싶지만 더 나은 방법이 그래서 만약 "는 SQL 전문가 아니에요. 둘 다 Smart GWT EE를 사용하고 있지 않습니다 .--(따라서 두 가지 솔루션을 모두 구현할 수 없습니다. – Madhura