Wednesday, February 8, 2017

New Look & Feel for Radio Group in Oracle Application Express 5.1

With Oracle Application Express version 5.1 we are getting lots of new features. Among most notable or exposed are for sure Interactive Grids, JET Charts and Live Template Options. But we can also find some smaller (and really nice) enhancements. One of this is new look and feel of Radio Group item. We can spot this for example when we use Create New Page wizard in Page Designer:



So what do we need to do, if we want to have this look and feel in our applications. Just adding combo box item to our page is not enough, it will have the same effect as in version 5.0. It will look like this :


Basically we need to change three things.


  • Number of Columns: should match number of elements in group or you can also set it to some bigger value (for example 100)
  • Display Null Value: NO 

  • Template Option -> Region Group Display: Display as Pill Button


After this three small changes we now have new look and feel for our radio group:


For me personally the same page looks much nicer now. And if you want, you can also try all the other template options (do it with Live Template Options, so that you see the effect on the fly) for radio group item and tweak the look and feel even further.

Aljaz

3 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Great post - thank you. If my pill boxes extend horizontally off the end of the page, is there anyway I can get the group to wrap to the next line?

    ReplyDelete