Sorting in Simplifier table

Tagged:
  • anuragkumar
        vor 5 Jahren #16527

        Hi Team,

        I have a table with some 40 fields. I have placed it inside a ScrollContainer. Currently, for sorting on each column, I have created each column header as a button, on click of which I call a common javascript method accepting column type and sort order. But the problem is that, I would have to create say around 10 storys in process designer each containing sorting of around 4 columns. This takes a lot of effort doing this. Is there any inbuilt attribute may be on the table widget level, which we can configure accordingly to enable sort on each column?

        Regards
        Anurag

        Mathieu Roll
            Has successfully completed the online course Introduction
            Has successfully completed the online course Intermediate (200)
            Has successfully completed the online course Advanced (300)
            Has successfully completed the online course Basics (100)
          vor 5 Jahren #16548
          Up
          0
          Down
          ::

          hello,

          with the m.Table there is no way to set auto sorting menu

          the other way is to use the table.Table

          https://openui5.hana.ondemand.com/#/api/sap.ui.table.Table

          here you have on each column a property to activate the sorting.

          but the table.Table is only for desktop use so if your application should work on other Devices like Tablets or Smartphones you should not use this Table.

           

          One more way is to create an extended control (Scripted Widget) where you can implement some logic for column sorting accessibility

        Ansicht von 2 Beiträgen – 1 bis 2 (von insgesamt 2)

        You must be logged in to reply to this topic.