pivot grid reorderable property set for a column

5 posts, 0 answers
  1. Satabdi
    Satabdi avatar
    13 posts
    Member since:
    Aug 2014

    Posted 26 Mar 2015 Link to this post

    Hi
    Can we set the "reorderable:false," for a particular column or row of pivot grid where all other columns are set to default as "reorderable:true" .

    Also need to hide delete option for a particular column or row. As of now I am hiding delete option using below code:
     #pivotgrid .k-pivot-rowheaders span.k-icon.k-si-close.k-setting-delete{
          display:none
          }
    But it actually hide for all the columns and rows. I want it for a particular column/row.

    Thanks in advance,

    Regards
    Satabdi
  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 30 Mar 2015 Link to this post

    Hello Satabdi,

    In general, the required functionality is not supported, but it can be implemented with some custom modification of PivotSettingTarget widget that handles the dimension tags. Here is a demo that demonstrates how to modify the widget in order to disable "[Product].[Category]" tag:
    You can hide the "delete" icon in the dataBound event of the widget, like the "k-state-disabled" class is added in the above Dojo demo.

    Regards,
    Georgi Krustev
    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. Satabdi
    Satabdi avatar
    13 posts
    Member since:
    Aug 2014

    Posted 30 Mar 2015 in reply to Georgi Krustev Link to this post

    Hi Georgi

    Thanks a lot. this is what I was looking for.

    Thank you once again,

    Regards
    Satabdi
  5. Satabdi
    Satabdi avatar
    13 posts
    Member since:
    Aug 2014

    Posted 08 Apr 2015 in reply to Georgi Krustev Link to this post

    Hi Georgi

    I tried to disable a row but for row it is not working. Can you please help me to find out what's wrong here.Row also have a data role of "pivotsettingtarget".  

    Thanks

    Satabdi

  6. Satabdi
    Satabdi avatar
    13 posts
    Member since:
    Aug 2014

    Posted 08 Apr 2015 in reply to Satabdi Link to this post

    I got it. Need to find " k-pivot-rowheaders" instead of ".k-pivot-table" .. Thanks
Back to Top
Kendo UI is VS 2017 Ready