7 Replies Latest reply: Aug 29, 2014 8:40 AM by Ralf Becher RSS

    Javascript number of Dimensions or Measures

      I am building an extension with allowing multiple dimensions and measurements:

        <Dimension Label="Dimensions" DropTarget="Dimensions" Require="true" Multiple="true"  />

        <Measurement Multiple="true" />

       

      I would like to know the number of dimensions and the number of measurements inside the javascript code. I can get the total number of columns out of Data.HeaderRows[0].length, but I can't seem to find the number of dimensions and measurements (or if each column is tagged with dimension/measurement).  Any help would be appreciated. Thanks