-1

I have a viewPanel and a categorized view in Xpages, when user click the category link the category is expanded.

I would like to create a jquery function that will expand the category also when the user click the row (TR), is this possible using jquery or in another way?

Thanks Thomas

Thomas Adrian
  • 3,543
  • 6
  • 32
  • 62
  • Yes, the TR must have an identifier ID, then with ajax u have to get the data of this ID, after that, create the 'expanded' content and insert data into the expanded content. – Roy Bogado Mar 01 '17 at 10:58

1 Answers1

0

dojo.behavior can be used to add functionality to parts of an XPage based on, for example, the class of an HTML element. There's a blog post on Jesse Gallagher's blog and an example of using it to make categories look like nested sections on Tommy Valand's blog

Paul Stephen Withers
  • 15,699
  • 1
  • 15
  • 33