Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
smartgwtで3列の動的フォームを作成しました。ここで私が達成したいのは、最初と最後の列にフォーム要素を配置することです。何か理由はありますか?
PS:form.setTitleOrientation(TitleOrientation.TOP);6つではなく、3つの列しかないように設定しました。
form.setTitleOrientation(TitleOrientation.TOP);
startRowとendRowを操作する必要があるため、最初のforItemにはsetStartRow(true)とsetEndRow(false)があり、3番目のformitemにはspacerItemを配置した中央にsetStartRow(false =とsetEndRow(true)があります。youFormSetItems(yourFirstItem行を開始する新しいSpacerItemインスタンス、行を終了する2番目のアイテム);