EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: wymak on December 21, 2012, 09:34:25 AM



Title: get the url property string of the datagrid
Post by: wymak on December 21, 2012, 09:34:25 AM
Hi everybody;

How can I get the value of url property in a datagrid, say #dg?

$('#dg').url  did not work.


Thx


Title: Re: get the url property string of the datagrid
Post by: stworthy on December 21, 2012, 11:25:38 AM
Call options method to get url property.

var url = $('#dg').datagrid('options').url;
alert(url);