This is a migrated thread and some comments may be shown as answers.

pivot grid reorderable property set for a column

4 Answers 132 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Satabdi
Top achievements
Rank 1
Satabdi asked on 26 Mar 2015, 10:12 AM
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

4 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 30 Mar 2015, 08:10 AM
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!
 
0
Satabdi
Top achievements
Rank 1
answered on 31 Mar 2015, 02:09 AM
Hi Georgi

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

Thank you once again,

Regards
Satabdi
0
Satabdi
Top achievements
Rank 1
answered on 08 Apr 2015, 09:15 AM

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

0
Satabdi
Top achievements
Rank 1
answered on 08 Apr 2015, 09:19 AM
I got it. Need to find " k-pivot-rowheaders" instead of ".k-pivot-table" .. Thanks
Tags
PivotGrid
Asked by
Satabdi
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Satabdi
Top achievements
Rank 1
Share this question
or