View Full Version : Column Tool tip setting Values[Solved]

22 Sep 2010, 10:22 AM
I am having a slight problem figuring out how to set the tool tip value for a column.

I have an array of values being passed to the function
function displayResultsGrid(response,values){

The value in the column would be 1-5 and I want to show a tooltip values[val]
but how do I get to the array of values from the render ?

renderer: function(val, cell, record){
var displayValue = values[val];
return '<div qtip="' + '<span><h3>val:</h3>'+ displayValue +'</span>' +'">'+ val +'</div>';

22 Sep 2010, 10:37 AM
I think I know the answer, I need to pass it in the record.
it's just not the answer I want to hear, but if it is the only valid answer ( as I expect ) let me know.

Make it solved, I knew the answer before I asked the question ( pass in the record ) but I was hoping.