About table display
Application Type
Reactive

If my page is only allowed to display five pieces of data at a time, and I get more than five results when I retrieve them, how can I delete the extra data so that my page only displays five pieces of data?

Hi,

Please display only five records in the table means only 5 column in your table so no more data will get displayed on screen.

Regards,

Komal

like this 

Hi Komal Kumbhar,

Thank you for your answer. The question has been solved.

Best Regards!

Chen

Hello @mh Chen,

Could you please share your OML to help you in showing only five columns in table records? If you have more than 5 attributes to show you can just select and place that attributes on the table records.

Thanks & Kind Regards,

Sachin

Hi ,

In this case you need to apply Paging to your table widget.

Go through this link

https://success.outsystems.com/Documentation/11/Reference/OutSystems_Language/Traditional_Web/Web_Interfaces/Designing_Screens/Table_Records_Widget


OR you can write customized SQL Query

Select Top(5) from { EntityName } : use this only 5 records you want

Hi Sachin Waghmare,

Thank you for your answer. The question has been solved.

Best Regards!

Chen

Hi mh Chen,

Can you please explain your question in detail as in -

  1. Do you want to display 5 columns or 5 records results ?
  2. what component you are using to display the records ?
  3. What do you mean by 5 pieces at a time ? Does that mean you want to display per page 5 records ?

Please post your question in detail so that community can help you at max.

Thanks,

Vani


Hi Vani Mankad,

Thank you for your answer. The question has been solved.

Best Regards!

Chen


Hi,

Glad it worked ! Please share the solution which worked.

Also, please mark this post as solved for reference.

Thanks,

Vani

Hi Chen,

Please post your answer here so any one is looking for same type of answer, they will get it here,

Regards,

Komal

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.