Skip to Content

issue while binding nationality fileds to sap.m.Select control

Hi Experts,

I am trying to bind the natinality fields from t005t table to sap.m.select control in SAPUI5. but its taking only first 100 items to the select control, rest is not coming in to the select.

Is there any restrictions for binding in select field...?

Kindly please advise me..

Thanks,

Abdul Muhsin

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Apr 25, 2017 at 02:08 PM

    Hi Muhsin Panakkal,

    Akhilesh is correct but instead of making a constant size limit you can set the size limit according to data

    oModel.setSizeLimit(data.length);//data is the result from the service.

    Thanks Viplove

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 25, 2017 at 07:18 AM

    by default model can handle 100 records only, increase size limit of your model while initialisation like below:

    oModel.setSizeLimit(1000);

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 29, 2017 at 01:18 PM

    Hi Kushalani and akhilesh,

    Its working, thanks for your reply..:)

    Thanks,

    Abdul

    Add comment
    10|10000 characters needed characters exceeded