resize function error message

9 views
Skip to first unread message

infringer

unread,
Oct 22, 2010, 12:19:38 PM10/22/10
to MyTableGrid
When you do not have the table setting button being displayed the
resize function generates an error at the following code:

var settingButton = $('mtgSB' + this._mtgId);
settingButton.setStyle({
left: (this.tableWidth - 20) + 'px'
});

This can be solved by changing the code to this, to verify if the
settingButton should be there:

if (this.addSettingBehaviorFlg) {
var settingButton = $('mtgSB' + this._mtgId);
settingButton.setStyle({
left: (this.tableWidth - 20) + 'px'
});
}

-David

Pablo Aravena

unread,
Oct 22, 2010, 1:48:00 PM10/22/10
to mytab...@googlegroups.com
You are right friend I have included this fix

Thanks a lot :-)

> --
> You received this message because you are subscribed to the Google Groups "MyTableGrid" group.
> To post to this group, send email to mytab...@googlegroups.com.
> To unsubscribe from this group, send email to mytablegrid...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mytablegrid?hl=en.
>
>

Reply all
Reply to author
Forward
0 new messages