PDA

View Full Version : tip in pagging grid



Mycoding
6 Jul 2010, 10:33 AM
Please, give advice.
How to make tip in pagging grid.
There is on column and when I onmouser over div inside tips shoulp appear with ajax load.
Ajax should be with params.
I tried different ways.
But in every ways there some not suit.
The most suitable will be if div when onload run function but the event doesn't
happen.
Happen only onmouseover, but
<div onload="ajaxTip(params)"></div>
doesn't.
http://vreshenie.ru/tip.PNG

Code should be like this,
but params sholud be dinamic, in this case they are static.
params:{id:'1',zadachnik:'demidovich'}


new Ext.ToolTip({
title:'??????? ??????',
target: 'yslovie1',
trackMouse:true,
autoHide:true,
autoWidth:true,
autoLoad: {
url: 'subjects/show_zadanie.php',
params:{id:'1',zadachnik:'demidovich'}
},
dismissDelay: 20000 // auto hide after 15 seconds
});

Animal
6 Jul 2010, 11:05 AM
You still have not fixed your code to put the grid into the tabpanel have you?

Fix that first.