MicroStrategy ONE

WebRow

The WebRow interface exposes the information about a specific row in the report.  A row consists of header elements and row values (metric or subtotal values). There is a method that returns the WebHeaders collection for the row.  This interface also provides a collection of WebRowValue objects.  This collection contains all the metric or subtotal values for a specific row.  It is a zero-based collection where the first index represents the left-most value.  The values are in order from left to right. So the first element has index as zero.

The following methods are available for the WebRow interface:  

  • getWebHeaders— Returns the WebHeaders object of the row.  This object contains all the row header elements for the specific row.  

  • get— Returns the WebRowValue object specified by the index passed in as a parameter.  

  • size— Returns the number of WebRowValue objects in the collection.  

  • elements— Returns an Enumeration object which is used to iterate through the collection.  

  • isEmpty— Returns whether the collection is empty.  

  • getOrdinal— Returns the ordinal of the row. Count begins from 0.