开发者社区> 问答> 正文

jquery easy ui报错,求解?报错

$("#poViewDetailTable").datagrid('options').queryParams=data;

找不到$("#poViewDetailTable").datagrid('options')

同样的在其他地方可以,这次就不行

错误是Uncaught TypeError: Cannot read property 'options' of undefined

展开
收起
爱吃鱼的程序员 2020-06-22 17:47:45 598 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    不是这么用的..额.

    Codeexample:

    $('#dg').datagrid({queryParams:{name:'easyui',subject:'datagrid'}});

    我这是把查询条件传过去

    就是 options这个方法的时候出不来

    怎么解决的?

    谢了

    解决了

    $('#pr_startDate').datebox('setValue','2012-01-02');

    UncaughtTypeError:Cannotreadproperty'options'ofundefined  

    2020-06-22 17:48:01
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关课程

更多

相关电子书

更多
使用TensorFlow搭建智能开发系统自劢生成App UI代码 立即下载
Fusion Design - 企业级UI解决方案揭秘 立即下载
使用TensorFlow搭建智能开发系统自动生成App UI 立即下载