Hi,
I have an issue.
In my project, when I mouse the Cursor to Teachers Columns then the Count of their Personal, Vacation and Sick leave should be shown.
I have already bind the data to some hidden columns.
Now the MouseOver Function is like this:
function uwgApprover_MouseOverHandler(gridName, id, objectType) {
var cell1 = igtbl_getElementById(id);
var cell = igtbl_getCellById(id);
if (!cell) return;
var str = id.split('_');
var column = cell.Column;
var actRowWork = igtbl_getActiveRow(gridName);
if (str[3] == 8 || str[3] == 7) {
cell1.style.cursor = 'hand';
}
if (str[3] == 4) {
var row = cell.getRow();
var Personal = row.getCellFromKey("CPersonal").getValue();
var Vacation = row.getCellFromKey("CVacation").getValue();
var Sick = row.getCellFromKey("CSick").getValue();
var Total = 'Personal:' + Personal + ', Vacation:' + Vacation + ', Sick:' + Sick;
return Total;
In the above code I am returning the all values, But I am getting the TeacherName instead of the concatenated Absences Values.
Please do the needful ASAP.
Thanks,
Moulika.
Hello moulika,
I followed the steps you suggested and was unable to reproduce the behavior you're describing. I see the total returns concatenated values when I hover over "name" column
I have attached the sample project I used to test this. Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem.
If this sample project is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back, or send a small sample project of your own if you have one.
Please let me know if I can provide any further assistance.
Thanks for you mail.
But the MouseOver function is working for cursor style change from pointer to Hand, it not returning the value.
Its an important task the client needs.
Please do the needful.