yui / yui3

A library for building richly interactive web applications.
http://yuilibrary.com/
Other
4.14k stars 1.29k forks source link

[windows 8 native] Datatable: Paginator #1110

Open triptych opened 11 years ago

triptych commented 11 years ago

"Many errors. The error message is: Unexpected error: Unable to add dynamic content. A script attempted to inject dynamic content, or elements previously modified dynamically, that might be unsafe. For example, using the innerHTML property to add script or malformed HTML will generate this exception. Use the toStaticHTML method to filter dynamic content, or explicitly create elements and attributes with a method such as createElement. For more information, see http://go.microsoft.com/fwlink/?LinkID=247104.""

test rowsPerPage === null shows all rows"": test paging directing functions should update table"": test paginator location as header"": test paginator insertion into a node"": test set page sizes with mixed values"":  test custom paginator model configuration"": test custom paginator model"": test swapping the data with new data"": test clicking on the controls"": 

ezequiel commented 11 years ago

All of these still fail in Microsoft.WinJS.2.0.Preview, and then some. The test suite located in src\datatable\tests\unit\datatable-paginator.html fails entirely now (all 11 tests). I'm assuming it's because Paginator is utilizing innerHTML heavily internally. Perhaps @apipkin can chime in on this.

apipkin commented 11 years ago

ping @apipkin