Announcement

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

    CubeGrid : Define possible facet.

    Hello,

    I am trying to made some facet not diplayed.

    In fact i want to define :
    Code:
                cubeGrid.setColumnFacets("dim1", "dim2",);
                cubeGrid.setRowFacets("dim3");
    When I display the grid, and potentially add one more facet after.

    But I have try :

    Code:
                cubeGrid.setFacet(new Facet("dim1"),new Facet("dim2"),new Facet("dim3"),new Facet("dim4"))
    
                cubeGrid.setColumnFacets("dim1", "dim2",);
                cubeGrid.setRowFacets("dim3");
    Or
    Code:
             
    
                cubeGrid.setColumnFacets("dim1", "dim2");
                cubeGrid.setRowFacets("dim3");
     cubeGrid.addFacet(new Facet("dim4"))
    It does'nt work, on first case I have just a blanck screen without error, and for the second a message error about empty object.

    I need this dimension because when I made a drag and drop from an object not defined, the doesn't print the facet.

    Regards

    #2
    See cubeGrid.setFixedFacetValues() - this will allow you to add a facet to the data model which is not initially displayed.

    Comment

    Working...
    X