Forum Stats

  • 3,757,812 Users
  • 2,251,271 Discussions
  • 7,869,922 Comments

Discussions

radio button sorting - issue

User_P8BY0
User_P8BY0 Member Posts: 9 Green Ribbon

Using oj-radioset in a editable table. need to sort - selected radio button on top

Answers

  • The items will be rendered in the order that you have provided them in the DOM structure, or if you are using the "options" property and passing in an Array, it will render them in the order they are in the array. Sort the array before passing it to the options binding and you will get the result that you want.