Hello all,
I have got nested tables working (drill-down). Table A has data, and clicking it opens Table B with detail. Next I'm trying to make a click action on Table B open a new dashboard. It will work if you single-click in the data rows for Table B, but an error will occur if I do either of these 2 things...
1. Click the sort buttons in Table B. The data will sort properly, but an error is thrown in java console "Uncaught TypeError: Cannot read property '0' of undefined".
2. Left-click a row/cell but do not release the click yet...drag to a different cell then release the left-click. Same error as above.
It seems to have something to do with the ClickAction. Even if I take my code out of the function here, leaving just an empty function.... function(e) {}....it still errors. Only removing any text from the ClickAction makes the error disappear, but then how do I launch a new dashboard?
The specific line of code it seems to error on is within the cdf-bootstrap-script-includes.js file....state.series = results.resultset[state.rowIdx][0];
Any ideas how to avoid this? Or maybe suppress the error? In Chrome I only see the error in java console, but in IE the error is popped up on the screen for the user, which we cannot have. If any additional info is required to help trouble-shoot, please let me know. Also, this is using CE server 6.1.
Thanks,
Wes
I have got nested tables working (drill-down). Table A has data, and clicking it opens Table B with detail. Next I'm trying to make a click action on Table B open a new dashboard. It will work if you single-click in the data rows for Table B, but an error will occur if I do either of these 2 things...
1. Click the sort buttons in Table B. The data will sort properly, but an error is thrown in java console "Uncaught TypeError: Cannot read property '0' of undefined".
2. Left-click a row/cell but do not release the click yet...drag to a different cell then release the left-click. Same error as above.
It seems to have something to do with the ClickAction. Even if I take my code out of the function here, leaving just an empty function.... function(e) {}....it still errors. Only removing any text from the ClickAction makes the error disappear, but then how do I launch a new dashboard?
The specific line of code it seems to error on is within the cdf-bootstrap-script-includes.js file....state.series = results.resultset[state.rowIdx][0];
Any ideas how to avoid this? Or maybe suppress the error? In Chrome I only see the error in java console, but in IE the error is popped up on the screen for the user, which we cannot have. If any additional info is required to help trouble-shoot, please let me know. Also, this is using CE server 6.1.
Thanks,
Wes