Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Hide close icon on window

$
0
0

Hi,

In my scenario I have two actions in the action bar as follows:

$("#requestWindow").kendoWindow({
        draggable: false,
        resizable: false,
        modal: true,
        title: "My title",
        actions: ["Refresh", "Close"]
    });

What I want is to only hide one of the actions.

This will hide both actions:

$("#requestWindow").parent().find(".k-window-action").css("visibility", "hidden");

And this hides one option but you can still hover the "invisible" button (see attached image):

$("#requestWindow").parent().find(".k-i-refresh").css("visibility", "hidden");

 

Any ideas on how to prevent this "hovering" effect?

 

Cheers

 


Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>