[jQuery] Re: parsers[i] has no properties
I believe I solved my problem. I was calling .trigger(update) on $ (table#example tbody) rather than the table itself. Thanks, Joe On Nov 5, 1:46 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: No, just zebra: $(#example).tablesorter({widgets: ['zebra']}); Previously I was using the following: headers: {0: {sorter: false}, 3: {sorter: 'cut'}, 5: {sorter: 'clarity'}, 6: {sorter: 'generic'}, 7: {sorter: 'generic'}, 9: {sorter: 'price'}}, sortList: [[1,0], [2,0]] When I removed them the error still occurs, but not until I click on the th to sort. In debug it looks like the default parsers are missing as well. I put an alert in the addParser method, and got about 13 messages. The zebra widget stopped working, but I think that is just a symptom of the missing parsers. Thanks, Joe On Nov 5, 11:16 am, Christian Bach [EMAIL PROTECTED] wrote: Hi Joe, Are you passing any sorter options to tablesorter? /christian 2007/11/5, [EMAIL PROTECTED] [EMAIL PROTECTED]: Has anyone been seeing the following in the firefox error console when sorting a tablesorter: parsers[i] has no properties line:482 It happens whenever a sort is run (on init, user input, or ajax). I assumed it was my custom parsers, so I removed them from my code but I'm still getting this error. In firebug I could see my parsers being added to $.tablesorter, but even the defaults seem to disappear once the object is instantiated. I'm using Tablesorter 2.0.1 with jquery-latest (1.2.1). If I'm the only one seeing this, I'd be willing to post my code. Thanks, Joe
[jQuery] Re: parsers[i] has no properties
Hi Joe, Are you passing any sorter options to tablesorter? /christian 2007/11/5, [EMAIL PROTECTED] [EMAIL PROTECTED]: Has anyone been seeing the following in the firefox error console when sorting a tablesorter: parsers[i] has no properties line:482 It happens whenever a sort is run (on init, user input, or ajax). I assumed it was my custom parsers, so I removed them from my code but I'm still getting this error. In firebug I could see my parsers being added to $.tablesorter, but even the defaults seem to disappear once the object is instantiated. I'm using Tablesorter 2.0.1 with jquery-latest (1.2.1). If I'm the only one seeing this, I'd be willing to post my code. Thanks, Joe
[jQuery] Re: parsers[i] has no properties
No, just zebra: $(#example).tablesorter({widgets: ['zebra']}); Previously I was using the following: headers: {0: {sorter: false}, 3: {sorter: 'cut'}, 5: {sorter: 'clarity'}, 6: {sorter: 'generic'}, 7: {sorter: 'generic'}, 9: {sorter: 'price'}}, sortList: [[1,0], [2,0]] When I removed them the error still occurs, but not until I click on the th to sort. In debug it looks like the default parsers are missing as well. I put an alert in the addParser method, and got about 13 messages. The zebra widget stopped working, but I think that is just a symptom of the missing parsers. Thanks, Joe On Nov 5, 11:16 am, Christian Bach [EMAIL PROTECTED] wrote: Hi Joe, Are you passing any sorter options to tablesorter? /christian 2007/11/5, [EMAIL PROTECTED] [EMAIL PROTECTED]: Has anyone been seeing the following in the firefox error console when sorting a tablesorter: parsers[i] has no properties line:482 It happens whenever a sort is run (on init, user input, or ajax). I assumed it was my custom parsers, so I removed them from my code but I'm still getting this error. In firebug I could see my parsers being added to $.tablesorter, but even the defaults seem to disappear once the object is instantiated. I'm using Tablesorter 2.0.1 with jquery-latest (1.2.1). If I'm the only one seeing this, I'd be willing to post my code. Thanks, Joe