并排在Suitelet中添加两个子列表 [英] Add two sublists in Suitelet side by side

查看:92
本文介绍了并排在Suitelet中添加两个子列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用suitelet在netsuite中并排添加两个子列表.但是,当我这样做时,子列表会显示在顶部和底部.

I wanted to add two sublists side by side in netsuite using suitelet. however, when I do that the sublists appear top and bottom.

对此是否有解决方案.我想要输出如屏幕快照中所示.

Is there any solution for this.I want the output as in the screenshot.

var newTab = form.addTab({id:'matchedtab',标签:'Matched'});

var newTab = form.addTab({ id : 'matchedtab', label : 'Matched' });

var nMatchedList =    form.addSublist({ id: 'custpage_matched', type: serverWidget.SublistType.LIST, label: 'Matched',tab:'matchedtab' });
nMatchedList.addRefreshButton();
nMatchedList.addField({ id : 'custpage_tr_cleared', type : serverWidget.FieldType.TEXT, label : 'Cleared' });
nMatchedList.addField({ id : 'custpage_tr_name', type : serverWidget.FieldType.TEXT, label : 'Name' });                     nMatchedList2 =       form.addSublist({ id: 'custpage_matched2', type: serverWidget.SublistType.LIST, label: 'Matched',tab:'matchedtab' });
nMatchedList2.addRefreshButton();
nMatchedList2.addField({ id : 'custpage_tr_cleared2', type : serverWidget.FieldType.TEXT, label : 'Cleared' });
nMatchedList2.addField({ id : 'custpage_tr_name2', type : serverWidget.FieldType.TEXT, label : 'Name' });

使用此代码获取给定屏幕截图中的输出,但是子列表被垂直添加.

Used this code to get output like in the given screenshot but the sublist gets added vertically.

推荐答案

如果我没记错的话,这是serverWidget模块的默认行为

If I'm not mistaken this is the default behavior of the serverWidget module

这篇关于并排在Suitelet中添加两个子列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆