How to hide some options in the more action list (such mass

Posted by ithrees on 02-Jan-2017 23:21

Hi,

What is the best way to disable/hide options in the more action list and export list for an application? 

Thanks in Advance,
Ithrees

Posted by ithrees on 04-Jan-2017 01:03

Hi,

For the time being I have added the following script in the application footer and expecting an enhanced solution for this in future.

<script>

 $( ".k-list-container.k-split-container.k-popup.k-group.k-reset" ).find("a span:contains('Merge...'), span:contains('Google')").parent().hide();

</script>

Thank You,

Ithrees

All Replies

Posted by stayal on 02-Jan-2017 23:47

Hi ithrees,

Can you please tell which version you are on ?

Thanks,

stayal

Posted by ithrees on 03-Jan-2017 00:01

Hi Stayel,

I am on 4.2

-Ithrees

Posted by ithrees on 04-Jan-2017 01:03

Hi,

For the time being I have added the following script in the application footer and expecting an enhanced solution for this in future.

<script>

 $( ".k-list-container.k-split-container.k-popup.k-group.k-reset" ).find("a span:contains('Merge...'), span:contains('Google')").parent().hide();

</script>

Thank You,

Ithrees

Posted by stayal on 05-Jan-2017 01:34

Hi ithrees,

We have started adding classes unique to such elements,one such elements being the options in the more actions list on the grid toolbar.With the upcoming release you can conveniently hide the options using just the class attribute.

Thanks,

stayal

This thread is closed