[CLOSED] Notification: hide close button when AutoHide = false

  1. #1

    [CLOSED] Notification: hide close button when AutoHide = false

    I want to show a notification that will stay on the screen always. I do not want to give the user the ability to close the notification window manually. The notification will go away automatically if a certain condition on the page is met.

    My use case is the following:
    Page with grid and a button that selects all rows across all pages in the grid (it really just selects all rows in current page but we keep track of this action and handle it later on the server side). When that happens, a notification will show that reminds the user all pages are selected. That notification will go away automatically when they clear the selection in the grid.


    Issue:
    Coolite.Ext.Notification.show({
                autoHide:false,
                draggable:true,
                pinEvent: 'none',
                shadow:false,
                html: 'You have selected 1,000 items across all pages',
                title: ''          
    });

    With above code, I still get a close button on the window. If autoHide: true, then that won't happen but I dont want the window to autohide at all.


    EDIT: this would still be nice to have but we decided to try another approach so no hurry on this issue.
  2. #2

    RE: [CLOSED] Notification: hide close button when AutoHide = false

    Hi,

    Just add
    closable:false

Similar Threads

  1. How to display / hide 'close' button on Tab
    By Aod47 in forum 1.x Help
    Replies: 12
    Last Post: Dec 17, 2011, 11:07 AM
  2. [CLOSED] Closable Autohide Notification
    By SouthDeveloper in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 22, 2011, 11:25 AM
  3. [1.0] Portlet - Hide close button
    By serdias in forum 1.x Help
    Replies: 2
    Last Post: Nov 16, 2010, 10:10 PM
  4. [CLOSED] Add close (hide) tool button and event to Portlet
    By betamax in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Oct 01, 2010, 1:16 PM
  5. [CLOSED] [1.0] Notification - AutoHide and CloseVisible
    By danielg in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 21, 2010, 7:35 AM

Posting Permissions