如何在gridView行的鼠标位置单击中打开JQ弹出对话框 [英] How can i open JQ pop up dialog in Mouse Position of gridView row clicking

查看:93
本文介绍了如何在gridView行的鼠标位置单击中打开JQ弹出对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个对话框,当单击一行GridView时将其打开
我想在单击行的鼠标位置中打开它,该怎么办?



i have a dialog that i opened it when clicking a row of GridView
i want to open it in Mouse Position of row clicking ,how can i do it?



$('#Div').dialog({

            autoResize: true,
            show: "clip",
            hide: "clip",
            height: 'auto',
            width: 'auto',
            autoOpen: false,
            modal: true,

position:'bottom',

            draggable: true,

            title: "نمایش ",
            open: function (type, data) {
                $(this).parent().appendTo("form");
            },
            buttons: { "بستن": function () { $(this).dialog("close"); } }
        });

推荐答案

(' #Div').dialog({ autoResize: true , 显示:" , 隐藏:" , 高度:' 自动', 宽度:' auto', autoOpen: false , 模态: true , 位置:' 底部', 可拖动:为真, 标题:" , 打开:函数(类型,数据){
('#Div').dialog({ autoResize: true, show: "clip", hide: "clip", height: 'auto', width: 'auto', autoOpen: false, modal: true, position:'bottom', draggable: true, title: "نمایش ", open: function (type, data) {


( this ).parent().appendTo( 表单"); }, 按钮:{" :function(){
(this).parent().appendTo("form"); }, buttons: { "بستن": function () {


().dialog(" ); }} });
(this).dialog("close"); } } });


这篇关于如何在gridView行的鼠标位置单击中打开JQ弹出对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆