Can I apply sorting to the column present in the the repeating section?


Badge +9

I have 4 columns in the repeating section ,can I apply sorting for all the columns in the repeating section?


3 replies

Userlevel 6
Badge +15

While they're in the repeating section, or after they're in the list? If you pull out the XML and parse it into lines, of course you can then sort it. Can you give an example of what you have, and what you want?

Badge +9

Thanks for your reply,

Here are my details:

  • I have added 4 columns in the repeating section and included 4 "Label" controls as header for these columns
  • I am creating a new item and added some values in the columns of the repeating section submits a form and sends a editform url to some users
  • When the users click on the edit form, I want sorting option on the header labels which will sort the value of each of the column at runtime
Badge +9

After much try ,I guess the requirement is not possible as the value of the repeating section is saved in xml.Parsing the xml and adding sorting code seems difficult

Reply