|
Title: how to use the view on render event Post by: Ellipsis on February 25, 2013, 10:34:30 AM Many components show the view on render event in the documentation.
How do you utilize this event properly? Code: $('#dg').datagrid('.....');Title: Re: how to use the view on render event Post by: stworthy on February 25, 2013, 11:33:21 PM Please extend the datagrid view and rewrite the 'onAfterRender' function.
Code: $('#dg').datagrid({Title: Re: how to use the view on render event Post by: Ellipsis on February 28, 2013, 10:45:15 AM Thank you, works!
Question: $.fn.datagrid.defaults.view.onAfterRender.call(this,target) Is to call the original event settings I assume ? Title: Re: how to use the view on render event Post by: Ellipsis on March 07, 2013, 01:39:11 AM this solves : http://www.jeasyui.com/forum/index.php?topic=1194.0
Title: Re: how to use the view on render event Post by: Ellipsis on March 14, 2013, 09:52:46 AM and how to apply this on the other views, for example the detailview
|