Getting the most out of the XPages View Panel Control – Series Introduction

The XPages core view panel control gets a bad rap.

It’s often knocked for its lack of flexibility. Granted, there are a number of other core and extension library controls that give you more control over the display of the data, but there are plenty of reasons why the view panel might be the right choice for your application.

  • It’s easy to apply — just drag and drop to add or rearrange the columns.
  • Because it’s easy, it’s also very fast to implement.
  • Categorization just works — and that’s not a trivial feat with most of the other data display controls.
  • It’s readily available as built-in core control. Sometimes, the extension library just isn’t available, whether it be due to corporate policy in a large environment, or just a lack of Domino administration experience available.

Even though it is often selected as the practical choice, the great news is that, with some creative coding, you can break the mold of the view panel and dramatically enhance the UI — all with built-in functionality that’s already available to you.

In this series, I’ll cover a number of different techniques for adding features to the view panel:

  • Row Highlighting (on hover)
  • Row selection toggle
  • Enabling/disabling buttons, based on whether a document is selected
  • Building a dynamic Jump To feature
  • Searching by field
  • Implementing editable view columns (aka InViewEdit)
  • Fixing row indentation under categorized columns in views with totals columns

As with any development technique in XPages, there are bound to be numerous ways to build similar functionality. If you’ve done something similar (or better!), I’d love to hear about it.

Advertisements

7 responses to “Getting the most out of the XPages View Panel Control – Series Introduction”

  1. Brian Moore says :

    I’m very much looking forward to this series, as it directly impacts a project I’m working on – especially the searching by field and the dynamic Jump To.

    Cheers,
    Brian

  2. Patrick Kwinten says :

    I tried a lot with rebuilding views via the View panel control but now its the Data view control that rocks

    • Brad Balassaitis says :

      It definitely has some great features. I’m posting this series primarily for those who don’t have the extension library as an option (as I didn’t in my earlier XPages projects), because you can still add a lot of handy functionality to the view panel.

  3. Randal Oulton says :

    Landed on this page, link to actual series isn’t obvious.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: