首页 > 其他 > 详细

操作提示框——DataGrid系列

时间:2021-09-06 22:48:22      阅读:28      评论:0      收藏:0      [点我收藏+]

技术分享图片

 

技术分享图片

 

 

 

<script>
//初始化
$(function () {
  alterSuccess("成功");
  //alterError("失败");
});

function alterSuccess(msg, speed) {
  speed = speed || 3000
  notifyMsg(msg, "success", speed);
}

function alterError(msg, speed) {
  speed = speed||3000
  notifyMsg(msg, "error", speed);
}

function notifyMsg(msg, msgType, speed) {
  speed = speed || 3000
  DevExpress.ui.notify({
    message: msg,
    width: 400,
    position: {
      at: "top center",
      collision: "fit",
      boundaryOffset: "0 20"
    }
  }, msgType, speed);
}
</script>

操作提示框——DataGrid系列

原文:https://www.cnblogs.com/xiaonanmu/p/15234303.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!