Neeraj posted me the question the other day how to re-introduce the record selector as we knew it in the High Interactivity days (and even well before those…). Yes, that function got dropped. But it does serve its purpose.
Initially I thought about introducing a dummy column to hold a glyph for the selector. Had a quick chat with Duncan as I often do to exchange thoughts. He reminded me about the “Client-side controls” feature introduced in Innovation Pack 2014. Due to a lack of time I dropped the ball. Until this afternoon, where Duncan replied about a pure CSS solution he crafted. It was elegant in its simplicity. The use of the nth-child selector does the magic. The first column in a list applet actually is a hidden multi-selector column (see my older post on the subject). So the second column is our target to dynamically introduce a small glyph. Duncan opted just to take one which suits from the “oracle” font which comes along with Siebel. But if you wish you can go wild.
End-result already pretty neat:
What I personally did not like, is the indented text in case a record selector is presented. So I went on with Duncan’s proposal and improved the UX a bit further (well, I hope so). Just a few little tweaks to the CSS.
And the result would be along these lines:
As always, implement theme overrides in a customized theme. And you should be good to go. I implemented on IP15. Solution works for both Synergy theme as well as the Aurora theme.
– Jeroen
