XPages ValuePicker Limited to 1000

前端 未结 1 446
粉色の甜心
粉色の甜心 2021-01-22 21:43

I use valuePicker and DojoListTextBox design element. If i have more than 1.000 values this valuepicker lists at most 1.000 records. How to increase that limitation? I just want

相关标签:
1条回答
  • 2021-01-22 22:22

    You need to add the maxRowCount Dojo attribute so your valuePicker looks like this:

    <xe:valuePicker id="valuePicker10" for="djTextList1" dojoType="extlib.dijit.PickerCheckbox">
        <xe:this.dataProvider>
            <xe:simpleValuePicker caseInsensitive="false">
                <xe:this.valueList>
                    <![CDATA[#{javascript:
                        try {var viewName="viewName";
                        var dbname = new Array("", sessionScope.personel_db_Path);
                        return @Trim(@Unique(@DbColumn(dbname, viewName,1).sort()));}
                        catch(e) { print(e)}
                    }]]>
                </xe:this.valueList>
            </xe:simpleValuePicker>
        </xe:this.dataProvider>
        <xe:this.dojoAttributes>
            <xp:dojoAttribute name="maxRowCount" value="10000"></xp:dojoAttribute>
        </xe:this.dojoAttributes>
    </xe:valuePicker>
    
    0 讨论(0)
提交回复
热议问题