Title: DataGrid and datalist cannot be used in tooltip Post by: officecode on September 23, 2017, 06:57:40 AM The data in the following code cannot be displayed. Ask for help. Thanks!
Code:
Title: Re: DataGrid and datalist cannot be used in tooltip Post by: officecode on September 23, 2017, 08:05:47 PM After testing, if I change the URL attribute in datalist, the data can be obtained, but cannot be displayed in the datalist.
Does tooltip not support this type of writing? Is there anything else that can be used to display DataGrid data in tooltip? This problem has been bothering me for a long time. Title: Re: DataGrid and datalist cannot be used in tooltip Post by: jarry on September 23, 2017, 11:05:05 PM You should resize the datalist after display the tooltip dialog.
Code: onUpdate: function(content){ Title: Re: DataGrid and datalist cannot be used in tooltip Post by: officecode on September 24, 2017, 02:14:11 AM Thanks for your reply.
After adding the onShow event, datalist still does not display the data. You should resize the datalist after display the tooltip dialog. Code: onUpdate: function(content){ Title: Re: DataGrid and datalist cannot be used in tooltip Post by: jarry on September 24, 2017, 06:28:18 AM Please look at this example http://code.reloado.com/inodal/edit#javascript,html,live
Title: Re: DataGrid and datalist cannot be used in tooltip Post by: officecode on September 24, 2017, 09:15:36 AM Please look at this example http://code.reloado.com/inodal/edit#javascript,html,live Appreciated your great help,Dear ;)...I find the root cause that the property should be "content: $('<div></div>'),"But I'm confused still that,tooltip can't be displayed from the second row of datagrid.. Code:
Title: Re: DataGrid and datalist cannot be used in tooltip Post by: jarry on September 24, 2017, 11:49:11 PM Please use this code instead.
Code: onLoadSuccess:function(){ Title: Re: DataGrid and datalist cannot be used in tooltip Post by: officecode on September 25, 2017, 07:14:10 PM The problem has been solved. Thank you very much!
|