pivotgrid bug

4 posts, 0 answers
  1. Payman
    Payman avatar
    2 posts
    Member since:
    Jul 2015

    Posted 06 Aug 2015 Link to this post

    I have added some fields with caption names like this:
    location: { caption: "Butik" }
    but the problem is that its not used for grouping
    it seems like a bug to me, is there way around it? 

    https://stackoverflow.com/questions/31749074/kendo-pivotgrid-translation-bug

  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1798 posts

    Posted 06 Aug 2015 Link to this post

    Hi Payman,

    With the current implementation of the PivotGrid, the caption will be displayed in the column's and row's headers only and will not be used in the row/column target settings panels. If you think that this could be a good addition for the PivotGrid you could create an item in our feedback portal:

    Regards,
    Konstantin Dikov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. rwb
    rwb avatar
    19 posts
    Member since:
    Aug 2015

    Posted 07 Aug 2015 in reply to Konstantin Dikov Link to this post

    When using PivotGrid with a flat data source the handles for dragging the dimensions are labelled with a different string to the dimension headers (screenshot attached).

    The dimension headers are labelled with the dataSource.schema.cube.dimensions.[name].caption.

    The dimension drag handles are labelled with the dataSource.rows.name (or dataSource.columns.name).

    Now, the dataSource.rows.name must be the key in the dataSource.schema.cube.dimensions of the dimension and this must also be a key in each item in the data array -- the field that stores the value of the dimension -- and therefore is in general not suitable for showing to users.

    In any case, it seems to me to be a bug that the drag handle is labelled with a different string to the dimension caption.

  5. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1798 posts

    Posted 10 Aug 2015 Link to this post

    Hi Richard,

    All of your observations are correct, but as I have mentioned, this is the current implementation of the control and it will display the caption for the row and column headers only. As I have suggested, you can log this request in our Feedback Portal, so our developers could take that into account when working on the new functionalities for the flat data binding.
     

    Kind Regards,
    Konstantin Dikov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready