|
Title: combobox and onBeforeLoad Post by: rezzonico on February 14, 2014, 06:47:09 AM Hi all,
I have a field with a combobox editor (the field is in a databgird). I use the onBeforeLoad function in order to populate the content on the combox (the data is read from another datagrid). Here is the code: Code: {field:'Jptask',title:'Op',width:10,All work as expected. The only problem is that the onBeforeLoad function is executed only the first time when the user click on the combobox. Is it possible to execute this function every time when the user click on the combobox ? Thanks in advance for any help. Miche Title: Re: combobox and onBeforeLoad Post by: stworthy on February 14, 2014, 08:27:54 AM Please try to use 'onShowPanel' event that is triggered when click to drop down the content panel.
Code: editor: {Title: Re: combobox and onBeforeLoad Post by: rezzonico on February 14, 2014, 08:59:09 AM It works perfectly.
Thanks a lot ! Miche |