Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
170
MouseOver
posted

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.