Search code examples
xpages

Hide totals detail in categorized view in XPages?


I have a view panel displaying a view. The view has a total column in front of a categorized column that shows the total for that category. How can I not show the number when it is on the detail line?


Solution

  • Please change the below Xpage view column formula, according to your totals column name.

    viewEntry.isDocument()? '' : viewEntry.getColumnValue('<totalColumnName>')
    

    where viewEntry is the request variable scope name under which row data made available.