Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to map java bean value to Cube grid cells?

    Hello ,
    I am trying to learn analytical tool's cube grid functionality. I am able to draw cube gird facets but unable to add value in cells using java bean. Attached is the java script file and a screen shot of the view ( with single row).
    Can you please provide some assistance to figure out how to populate the values in cube grid cell.
    I am trying smart Client v11p_2016-06-09 evaluation copy.
    Thank you in advance.
    Rita
    Attached Files

    #2
    About creating a DataSource that can retrieve data from Java Beans, first see the QuickStart Guide, Server Framework chapter. Then, see the CubeGrid overview docs and especially the docs for CubeGrid data, which will explain how the CubeGrid expects and interprets data from a DataSource.

    Comment


      #3
      Honestly it is very difficult to understand how load facet values from a DataSource from documentation. Can you please provide simple example. Thanks again, Rita

      Comment


        #4
        Figured it out - needed to use List<Map<String,Object>> instead of custom Bean thanks Rita

        Comment


          #5
          It's not actually necessary to copy data into a List of Maps; you can generally directly return a Collection of beans unless your beans have unusual limitations (like they throw RuntimeExceptions from accessors, or similar). But if you have a data copying approach working, that's fine too.

          Comment

          Working...
          X