Hi eirik.lorentsen,
how to show list of notifications .for suppose 10 notifications coming from database at once (
Array[10])
i am create like below
Code:
for(var i=0;i<event.data.length;i++){
var notification =Ext.create("MotApp.util.Notification", {
title: 'Notification',
position: "br",// Options: br, bl, tr, tl, t, l, b, r
cls: "ux-notification-window ux-notification-success",
iconCls: "ux-notification-icon-information",
Code:
spacing: 15,
html:event.data[i].message,
autoCloseDelay: 7000,
});
notification.show(); }
event.data contains Array[10] objects . i am iterating and displaying . but all notifications close at a time.
)