From c86070212c7316585e00129e2b1f8045fe5e3db2 Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Wed, 21 Jan 2015 23:28:24 -0800 Subject: Release version 0.2-snapshot. --- vaadin-grid/demo.html | 661 ++++++++ vaadin-grid/demodata.js | 2021 ++++++++++++++++++++++++ vaadin-grid/sort-asc.svg | 1 + vaadin-grid/sort-desc.svg | 1 + vaadin-grid/test/common.js | 86 + vaadin-grid/test/grid-binding-data.html | 185 +++ vaadin-grid/test/grid-editing-columns.html | 412 +++++ vaadin-grid/test/grid-editor-handler.html | 202 +++ vaadin-grid/test/grid-properties.html | 86 + vaadin-grid/test/grid-redrawer.html | 201 +++ vaadin-grid/test/grid-rendering-light-dom.html | 130 ++ vaadin-grid/test/grid-scrolling-rows.html | 114 ++ vaadin-grid/test/grid-selecting-rows.html | 645 ++++++++ vaadin-grid/test/grid-sorting-rows.html | 100 ++ vaadin-grid/test/grid-static-sections.html | 222 +++ vaadin-grid/test/index.html | 24 + vaadin-grid/tick.svg | 3 + vaadin-grid/vaadin-grid-doc.html | 631 ++++++++ vaadin-grid/vaadin-grid-import.html | 627 ++++++++ vaadin-grid/vaadin-grid.html | 983 ++++++++++++ 20 files changed, 7335 insertions(+) create mode 100644 vaadin-grid/demo.html create mode 100644 vaadin-grid/demodata.js create mode 100644 vaadin-grid/sort-asc.svg create mode 100644 vaadin-grid/sort-desc.svg create mode 100644 vaadin-grid/test/common.js create mode 100644 vaadin-grid/test/grid-binding-data.html create mode 100644 vaadin-grid/test/grid-editing-columns.html create mode 100644 vaadin-grid/test/grid-editor-handler.html create mode 100644 vaadin-grid/test/grid-properties.html create mode 100644 vaadin-grid/test/grid-redrawer.html create mode 100644 vaadin-grid/test/grid-rendering-light-dom.html create mode 100644 vaadin-grid/test/grid-scrolling-rows.html create mode 100644 vaadin-grid/test/grid-selecting-rows.html create mode 100644 vaadin-grid/test/grid-sorting-rows.html create mode 100644 vaadin-grid/test/grid-static-sections.html create mode 100644 vaadin-grid/test/index.html create mode 100644 vaadin-grid/tick.svg create mode 100644 vaadin-grid/vaadin-grid-doc.html create mode 100644 vaadin-grid/vaadin-grid-import.html create mode 100644 vaadin-grid/vaadin-grid.html (limited to 'vaadin-grid') diff --git a/vaadin-grid/demo.html b/vaadin-grid/demo.html new file mode 100644 index 0000000..daa637e --- /dev/null +++ b/vaadin-grid/demo.html @@ -0,0 +1,661 @@ + + + + + + + + + + + + + + + +
    +
  1. +

    Simplest possible with inline data

    + + + + + + + + + + + + + + + + + +
    Grid100000.8
    Vaadin X9999990.8
    +
    +
  2. + +
  3. +

    Simplest possible with explicitly formatted inline data (i.e. children in cells)

    + + + + + + + + + + + + + + + + + +
    Grid10 000€
    Vaadin X999 999€
    +
    + +
  4. + +
  5. +

    Simplest possible with data source (all data available, no formatting)

    + + + + + +
    +
    + + +
  6. + +
  7. +

    Simplest possible with lazy data source (no formatting)

    + + + + + +
    +
    + + +
  8. + +
  9. +

    Simplest possible with data source and formatting

    + + + + + + +
    +
    + +
  10. + +
  11. +

    Mapping data from a JS object into columns

    + + + + + + +
    +
    + + + + +
  12. + +
  13. +

    Mapping data from a array into single column

    + + + + +
    +
    + +
  14. + +
  15. +

    Complex headers

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Status
    NameValueProgress
    Grid100000.8
    Vaadin X9999990.8
    This is a footer line in a cell
    Some widgets in a footer
    +
    +
  16. + +
  17. +

    Selection

    + + + + + + +
    +
    +
    + single + multi + all + disabled +
    +
    +
    +
    + +
  18. + +
  19. +

    Simplest possible polymer dom-repeat from array of objects

    + + + + + +
  20. + +
  21. +

    Simplest possible polymer dom-repeat from simple array

    + + + + + +
  22. + +
  23. +

    Simplest possible polymer dom-repeat from array of objects and selection multiple

    + + + + + +
  24. + +
  25. +

    Sort example

    + + + + + +
    +
    + + Sort: + + +
  26. + +
  27. +

    Row editor

    + + + + + + + + + + + + + + +
    Grid10000
    VaadinX1000
    +
    + + +
  28. + +
  29. +

    DOM API

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Grid100000.8lorem ipsumdolor sit ametlorem ipsumdolor sit amet
    Vaadin X9999990.8lorem ipsumdolor sit ametlorem ipsumdolor sit amet
    Designer100000.5lorem ipsumdolor sit ametlorem ipsumdolor sit amet
    Spreadsheet100000.5lorem ipsumdolor sit ametlorem ipsumdolor sit amet
    TK100000.5lorem ipsumdolor sit ametlorem ipsumdolor sit amet
    +
    +
  30. + +
  31. +

    Header and Footer

    + + + + + + + + + + + + + + +
    Grid10000
    VaadinX1000
    +
    +
    + + + +
  32. + +
+ + diff --git a/vaadin-grid/demodata.js b/vaadin-grid/demodata.js new file mode 100644 index 0000000..b284aa0 --- /dev/null +++ b/vaadin-grid/demodata.js @@ -0,0 +1,2021 @@ + myBigData = + [ + [ + "Patrik", + "Paul", + "Invent", + "results" + ], + [ + "John", + "Signell", + "Export", + "results" + ], + [ + "Patrik", + "Åstrand", + "Deliver", + "Grid" + ], + [ + "Leif", + "Suo-Anttila", + "Fix", + "results" + ], + [ + "Leif", + "Paul", + "Feed", + "the dog" + ], + [ + "Joonas", + "Suo-Anttila", + "Produce", + "Vaadin" + ], + [ + "Teemu", + "Ahlroos", + "Feed", + "Grid" + ], + [ + "Artur", + "Åstrand", + "Launch", + "teleportation" + ], + [ + "Leif", + "Lehtinen", + "Launch", + "Grid" + ], + [ + "Artur", + "Lindström", + "Polish", + "Vaadin" + ], + [ + "Artur", + "Suo-Anttila", + "Design", + "the dog" + ], + [ + "Joonas", + "Dahlström", + "Fix", + "soup" + ], + [ + "Joonas", + "Lindström", + "Implement", + "Grid" + ], + [ + "John", + "Ahlroos", + "Deliver", + "the dog" + ], + [ + "Henrik", + "Signell", + "Feed", + "the dog" + ], + [ + "Leif", + "Lehtinen", + "Implement", + "world peace" + ], + [ + "Artur", + "Suo-Anttila", + "Deliver", + "soup" + ], + [ + "Johannes", + "Åstrand", + "Disable", + "soup" + ], + [ + "Artur", + "Dahlström", + "Implement", + "soup" + ], + [ + "Artur", + "Signell", + "Deliver", + "Vaadin" + ], + [ + "Patrik", + "Dahlström", + "Design", + "results" + ], + [ + "Artur", + "Suo-Anttila", + "Export", + "the dog" + ], + [ + "Patrik", + "Paul", + "Establish", + "soup" + ], + [ + "Patrik", + "Lindström", + "Implement", + "world peace" + ], + [ + "Artur", + "Ahlroos", + "Polish", + "the weather" + ], + [ + "Henrik", + "Lindström", + "Design", + "Vaadin" + ], + [ + "Johannes", + "Suo-Anttila", + "Fix", + "results" + ], + [ + "Artur", + "Dahlström", + "Invent", + "results" + ], + [ + "Artur", + "Dahlström", + "Polish", + "results" + ], + [ + "Henrik", + "Suo-Anttila", + "Launch", + "soup" + ], + [ + "Teemu", + "Åstrand", + "Design", + "Grid" + ], + [ + "Patrik", + "Åstrand", + "Design", + "the dog" + ], + [ + "Joonas", + "Ahlroos", + "Invent", + "the dog" + ], + [ + "Patrik", + "Ahlroos", + "Implement", + "Vaadin" + ], + [ + "Henrik", + "Lindström", + "Produce", + "the weather" + ], + [ + "Patrik", + "Åstrand", + "Fix", + "world peace" + ], + [ + "Teemu", + "Lindström", + "Deliver", + "the dog" + ], + [ + "Teemu", + "Signell", + "Design", + "teleportation" + ], + [ + "Joonas", + "Lehtinen", + "Feed", + "the weather" + ], + [ + "Artur", + "Signell", + "Feed", + "Vaadin" + ], + [ + "John", + "Lehtinen", + "Design", + "the dog" + ], + [ + "Artur", + "Åstrand", + "Activate", + "world peace" + ], + [ + "Patrik", + "Paul", + "Design", + "Vaadin" + ], + [ + "Leif", + "Suo-Anttila", + "Deliver", + "world peace" + ], + [ + "Teemu", + "Signell", + "Feed", + "the dog" + ], + [ + "Johannes", + "Åstrand", + "Feed", + "the dog" + ], + [ + "Henrik", + "Åstrand", + "Disable", + "the weather" + ], + [ + "Henrik", + "Lehtinen", + "Disable", + "Grid" + ], + [ + "Teemu", + "Åstrand", + "Implement", + "Grid" + ], + [ + "Teemu", + "Åstrand", + "Implement", + "results" + ], + [ + "Artur", + "Lindström", + "Invent", + "the weather" + ], + [ + "Joonas", + "Signell", + "Implement", + "teleportation" + ], + [ + "Patrik", + "Ahlroos", + "Produce", + "teleportation" + ], + [ + "Johannes", + "Suo-Anttila", + "Establish", + "soup" + ], + [ + "Leif", + "Lehtinen", + "Design", + "results" + ], + [ + "John", + "Lindström", + "Invent", + "Grid" + ], + [ + "Teemu", + "Dahlström", + "Polish", + "Grid" + ], + [ + "Henrik", + "Suo-Anttila", + "Export", + "teleportation" + ], + [ + "Johannes", + "Signell", + "Activate", + "Grid" + ], + [ + "Leif", + "Signell", + "Activate", + "soup" + ], + [ + "Artur", + "Ahlroos", + "Launch", + "world peace" + ], + [ + "Artur", + "Paul", + "Feed", + "results" + ], + [ + "John", + "Åstrand", + "Fix", + "the dog" + ], + [ + "Teemu", + "Dahlström", + "Polish", + "Grid" + ], + [ + "Artur", + "Dahlström", + "Feed", + "Vaadin" + ], + [ + "Patrik", + "Ahlroos", + "Export", + "Grid" + ], + [ + "Henrik", + "Dahlström", + "Polish", + "world peace" + ], + [ + "Henrik", + "Signell", + "Import", + "Vaadin" + ], + [ + "Joonas", + "Åstrand", + "Deliver", + "results" + ], + [ + "Joonas", + "Åstrand", + "Launch", + "teleportation" + ], + [ + "Artur", + "Signell", + "Disable", + "results" + ], + [ + "Patrik", + "Signell", + "Deliver", + "Grid" + ], + [ + "Johannes", + "Suo-Anttila", + "Deliver", + "the weather" + ], + [ + "Teemu", + "Paul", + "Feed", + "results" + ], + [ + "Johannes", + "Lindström", + "Produce", + "soup" + ], + [ + "Artur", + "Lindström", + "Implement", + "teleportation" + ], + [ + "Patrik", + "Dahlström", + "Implement", + "Vaadin" + ], + [ + "Patrik", + "Lindström", + "Fix", + "Vaadin" + ], + [ + "Artur", + "Ahlroos", + "Launch", + "teleportation" + ], + [ + "John", + "Suo-Anttila", + "Launch", + "Grid" + ], + [ + "Johannes", + "Åstrand", + "Feed", + "results" + ], + [ + "Teemu", + "Lindström", + "Establish", + "soup" + ], + [ + "Leif", + "Suo-Anttila", + "Activate", + "results" + ], + [ + "Johannes", + "Lindström", + "Export", + "soup" + ], + [ + "Patrik", + "Lehtinen", + "Feed", + "the dog" + ], + [ + "Henrik", + "Suo-Anttila", + "Fix", + "the weather" + ], + [ + "Leif", + "Ahlroos", + "Export", + "world peace" + ], + [ + "Artur", + "Signell", + "Establish", + "the dog" + ], + [ + "Teemu", + "Ahlroos", + "Launch", + "the dog" + ], + [ + "Patrik", + "Åstrand", + "Disable", + "soup" + ], + [ + "Henrik", + "Signell", + "Polish", + "soup" + ], + [ + "Henrik", + "Suo-Anttila", + "Fix", + "teleportation" + ], + [ + "Teemu", + "Suo-Anttila", + "Polish", + "the dog" + ], + [ + "John", + "Suo-Anttila", + "Import", + "the dog" + ], + [ + "Johannes", + "Åstrand", + "Disable", + "teleportation" + ], + [ + "Artur", + "Signell", + "Activate", + "the weather" + ], + [ + "John", + "Dahlström", + "Disable", + "world peace" + ], + [ + "Joonas", + "Ahlroos", + "Deliver", + "soup" + ], + [ + "Leif", + "Ahlroos", + "Implement", + "Vaadin" + ], + [ + "Henrik", + "Ahlroos", + "Export", + "the weather" + ], + [ + "Teemu", + "Suo-Anttila", + "Polish", + "the dog" + ], + [ + "Joonas", + "Åstrand", + "Activate", + "soup" + ], + [ + "Joonas", + "Signell", + "Activate", + "soup" + ], + [ + "Teemu", + "Lehtinen", + "Invent", + "teleportation" + ], + [ + "Artur", + "Dahlström", + "Design", + "teleportation" + ], + [ + "Teemu", + "Ahlroos", + "Invent", + "results" + ], + [ + "Patrik", + "Lehtinen", + "Activate", + "results" + ], + [ + "Teemu", + "Lindström", + "Produce", + "results" + ], + [ + "Leif", + "Åstrand", + "Import", + "the weather" + ], + [ + "Joonas", + "Ahlroos", + "Launch", + "world peace" + ], + [ + "Leif", + "Signell", + "Import", + "the weather" + ], + [ + "Joonas", + "Ahlroos", + "Disable", + "the weather" + ], + [ + "Leif", + "Signell", + "Invent", + "results" + ], + [ + "John", + "Paul", + "Polish", + "soup" + ], + [ + "Leif", + "Åstrand", + "Feed", + "results" + ], + [ + "Leif", + "Åstrand", + "Implement", + "Grid" + ], + [ + "Artur", + "Ahlroos", + "Fix", + "the dog" + ], + [ + "John", + "Ahlroos", + "Establish", + "Vaadin" + ], + [ + "Teemu", + "Suo-Anttila", + "Produce", + "Vaadin" + ], + [ + "Artur", + "Ahlroos", + "Disable", + "teleportation" + ], + [ + "Artur", + "Lehtinen", + "Produce", + "Vaadin" + ], + [ + "Patrik", + "Suo-Anttila", + "Design", + "world peace" + ], + [ + "Johannes", + "Åstrand", + "Polish", + "world peace" + ], + [ + "Teemu", + "Lindström", + "Activate", + "teleportation" + ], + [ + "John", + "Ahlroos", + "Deliver", + "results" + ], + [ + "Henrik", + "Ahlroos", + "Design", + "Grid" + ], + [ + "Henrik", + "Lindström", + "Fix", + "the weather" + ], + [ + "Henrik", + "Suo-Anttila", + "Establish", + "Grid" + ], + [ + "Artur", + "Dahlström", + "Import", + "Vaadin" + ], + [ + "Artur", + "Signell", + "Export", + "world peace" + ], + [ + "Patrik", + "Paul", + "Design", + "world peace" + ], + [ + "Johannes", + "Suo-Anttila", + "Deliver", + "the dog" + ], + [ + "Joonas", + "Lindström", + "Implement", + "results" + ], + [ + "Joonas", + "Åstrand", + "Import", + "world peace" + ], + [ + "Leif", + "Lindström", + "Design", + "Grid" + ], + [ + "Henrik", + "Lindström", + "Implement", + "Grid" + ], + [ + "John", + "Dahlström", + "Activate", + "Vaadin" + ], + [ + "Artur", + "Suo-Anttila", + "Polish", + "the dog" + ], + [ + "Henrik", + "Suo-Anttila", + "Produce", + "the weather" + ], + [ + "Patrik", + "Åstrand", + "Launch", + "the weather" + ], + [ + "Leif", + "Paul", + "Invent", + "soup" + ], + [ + "Teemu", + "Lehtinen", + "Feed", + "the dog" + ], + [ + "Leif", + "Signell", + "Implement", + "teleportation" + ], + [ + "Joonas", + "Suo-Anttila", + "Establish", + "results" + ], + [ + "John", + "Suo-Anttila", + "Disable", + "the dog" + ], + [ + "Joonas", + "Paul", + "Fix", + "Grid" + ], + [ + "Leif", + "Suo-Anttila", + "Invent", + "Grid" + ], + [ + "Johannes", + "Paul", + "Design", + "world peace" + ], + [ + "Joonas", + "Paul", + "Establish", + "the dog" + ], + [ + "Johannes", + "Lindström", + "Establish", + "Vaadin" + ], + [ + "Joonas", + "Signell", + "Export", + "Grid" + ], + [ + "Leif", + "Ahlroos", + "Invent", + "Grid" + ], + [ + "Patrik", + "Paul", + "Disable", + "world peace" + ], + [ + "John", + "Signell", + "Launch", + "results" + ], + [ + "Henrik", + "Lehtinen", + "Produce", + "the weather" + ], + [ + "Patrik", + "Suo-Anttila", + "Disable", + "Grid" + ], + [ + "Artur", + "Lindström", + "Launch", + "Vaadin" + ], + [ + "John", + "Lehtinen", + "Feed", + "world peace" + ], + [ + "Henrik", + "Åstrand", + "Launch", + "world peace" + ], + [ + "Leif", + "Lehtinen", + "Fix", + "teleportation" + ], + [ + "Henrik", + "Lindström", + "Export", + "Grid" + ], + [ + "Johannes", + "Signell", + "Polish", + "world peace" + ], + [ + "Henrik", + "Ahlroos", + "Export", + "Grid" + ], + [ + "Teemu", + "Paul", + "Fix", + "the weather" + ], + [ + "Artur", + "Suo-Anttila", + "Feed", + "the weather" + ], + [ + "John", + "Paul", + "Polish", + "results" + ], + [ + "Patrik", + "Lehtinen", + "Launch", + "teleportation" + ], + [ + "Joonas", + "Paul", + "Design", + "results" + ], + [ + "Artur", + "Signell", + "Polish", + "Grid" + ], + [ + "Leif", + "Suo-Anttila", + "Design", + "Grid" + ], + [ + "Henrik", + "Signell", + "Export", + "teleportation" + ], + [ + "Patrik", + "Lehtinen", + "Polish", + "Vaadin" + ], + [ + "Johannes", + "Signell", + "Activate", + "Vaadin" + ], + [ + "Patrik", + "Signell", + "Deliver", + "the weather" + ], + [ + "John", + "Signell", + "Feed", + "the dog" + ], + [ + "Artur", + "Paul", + "Polish", + "the weather" + ], + [ + "Leif", + "Ahlroos", + "Implement", + "results" + ], + [ + "Leif", + "Lehtinen", + "Implement", + "world peace" + ], + [ + "Joonas", + "Lehtinen", + "Establish", + "teleportation" + ], + [ + "Henrik", + "Dahlström", + "Polish", + "results" + ], + [ + "Teemu", + "Signell", + "Disable", + "world peace" + ], + [ + "Artur", + "Åstrand", + "Invent", + "Vaadin" + ], + [ + "Leif", + "Lindström", + "Import", + "the dog" + ], + [ + "Johannes", + "Ahlroos", + "Establish", + "world peace" + ], + [ + "Henrik", + "Lindström", + "Export", + "Vaadin" + ], + [ + "Joonas", + "Lehtinen", + "Activate", + "soup" + ], + [ + "Johannes", + "Paul", + "Launch", + "teleportation" + ], + [ + "Artur", + "Suo-Anttila", + "Feed", + "Grid" + ], + [ + "Leif", + "Paul", + "Implement", + "world peace" + ], + [ + "Joonas", + "Paul", + "Export", + "soup" + ], + [ + "Johannes", + "Signell", + "Launch", + "the dog" + ], + [ + "Patrik", + "Suo-Anttila", + "Polish", + "the dog" + ], + [ + "Leif", + "Paul", + "Establish", + "Grid" + ], + [ + "Artur", + "Paul", + "Implement", + "Grid" + ], + [ + "Leif", + "Signell", + "Polish", + "teleportation" + ], + [ + "Artur", + "Åstrand", + "Polish", + "soup" + ], + [ + "Joonas", + "Suo-Anttila", + "Activate", + "teleportation" + ], + [ + "Patrik", + "Ahlroos", + "Launch", + "soup" + ], + [ + "Patrik", + "Dahlström", + "Establish", + "soup" + ], + [ + "Teemu", + "Lindström", + "Deliver", + "soup" + ], + [ + "Henrik", + "Lehtinen", + "Disable", + "soup" + ], + [ + "Henrik", + "Åstrand", + "Produce", + "results" + ], + [ + "John", + "Åstrand", + "Implement", + "the dog" + ], + [ + "Joonas", + "Paul", + "Activate", + "soup" + ], + [ + "John", + "Ahlroos", + "Design", + "teleportation" + ], + [ + "Artur", + "Lindström", + "Deliver", + "results" + ], + [ + "Joonas", + "Suo-Anttila", + "Import", + "the dog" + ], + [ + "John", + "Dahlström", + "Export", + "the dog" + ], + [ + "Henrik", + "Signell", + "Import", + "results" + ], + [ + "Leif", + "Ahlroos", + "Invent", + "Vaadin" + ], + [ + "Artur", + "Åstrand", + "Invent", + "Vaadin" + ], + [ + "Patrik", + "Ahlroos", + "Polish", + "soup" + ], + [ + "Joonas", + "Suo-Anttila", + "Feed", + "the weather" + ], + [ + "Leif", + "Ahlroos", + "Activate", + "the dog" + ], + [ + "Patrik", + "Ahlroos", + "Produce", + "the dog" + ], + [ + "Henrik", + "Dahlström", + "Deliver", + "Grid" + ], + [ + "Patrik", + "Ahlroos", + "Activate", + "Grid" + ], + [ + "Teemu", + "Åstrand", + "Launch", + "world peace" + ], + [ + "Patrik", + "Dahlström", + "Disable", + "Grid" + ], + [ + "John", + "Åstrand", + "Design", + "the weather" + ], + [ + "Teemu", + "Lehtinen", + "Produce", + "world peace" + ], + [ + "Patrik", + "Suo-Anttila", + "Polish", + "the weather" + ], + [ + "Johannes", + "Lindström", + "Export", + "the weather" + ], + [ + "Patrik", + "Signell", + "Produce", + "world peace" + ], + [ + "John", + "Lehtinen", + "Fix", + "the dog" + ], + [ + "Johannes", + "Lehtinen", + "Disable", + "teleportation" + ], + [ + "Artur", + "Ahlroos", + "Export", + "Vaadin" + ], + [ + "Henrik", + "Ahlroos", + "Fix", + "Grid" + ], + [ + "Henrik", + "Lindström", + "Feed", + "the weather" + ], + [ + "Johannes", + "Dahlström", + "Establish", + "Vaadin" + ], + [ + "Henrik", + "Signell", + "Import", + "results" + ], + [ + "Patrik", + "Åstrand", + "Disable", + "world peace" + ], + [ + "Patrik", + "Suo-Anttila", + "Export", + "the dog" + ], + [ + "Teemu", + "Åstrand", + "Deliver", + "soup" + ], + [ + "Teemu", + "Signell", + "Import", + "Grid" + ], + [ + "Leif", + "Lindström", + "Design", + "soup" + ], + [ + "Patrik", + "Dahlström", + "Polish", + "soup" + ], + [ + "Johannes", + "Signell", + "Implement", + "soup" + ], + [ + "Joonas", + "Paul", + "Activate", + "world peace" + ], + [ + "Joonas", + "Suo-Anttila", + "Feed", + "results" + ], + [ + "Artur", + "Paul", + "Invent", + "results" + ], + [ + "Teemu", + "Paul", + "Fix", + "world peace" + ], + [ + "John", + "Åstrand", + "Implement", + "results" + ], + [ + "Teemu", + "Lehtinen", + "Implement", + "the weather" + ], + [ + "Henrik", + "Lehtinen", + "Fix", + "world peace" + ], + [ + "Teemu", + "Ahlroos", + "Feed", + "soup" + ], + [ + "Henrik", + "Ahlroos", + "Establish", + "Grid" + ], + [ + "Patrik", + "Lehtinen", + "Implement", + "Grid" + ], + [ + "Joonas", + "Åstrand", + "Feed", + "the dog" + ], + [ + "John", + "Lindström", + "Feed", + "results" + ], + [ + "Henrik", + "Suo-Anttila", + "Invent", + "Grid" + ], + [ + "Teemu", + "Lehtinen", + "Export", + "the dog" + ], + [ + "Patrik", + "Signell", + "Import", + "teleportation" + ], + [ + "Artur", + "Paul", + "Polish", + "Grid" + ], + [ + "Artur", + "Ahlroos", + "Activate", + "world peace" + ], + [ + "Patrik", + "Paul", + "Activate", + "results" + ], + [ + "Joonas", + "Ahlroos", + "Polish", + "the dog" + ], + [ + "John", + "Lehtinen", + "Polish", + "results" + ], + [ + "Leif", + "Lindström", + "Disable", + "world peace" + ], + [ + "John", + "Signell", + "Activate", + "Vaadin" + ], + [ + "Johannes", + "Suo-Anttila", + "Implement", + "the weather" + ], + [ + "Johannes", + "Lehtinen", + "Implement", + "teleportation" + ], + [ + "John", + "Signell", + "Establish", + "teleportation" + ], + [ + "Leif", + "Åstrand", + "Produce", + "world peace" + ], + [ + "Henrik", + "Lindström", + "Produce", + "teleportation" + ], + [ + "Teemu", + "Ahlroos", + "Import", + "teleportation" + ], + [ + "Henrik", + "Lindström", + "Produce", + "Vaadin" + ], + [ + "Artur", + "Dahlström", + "Design", + "soup" + ], + [ + "Teemu", + "Suo-Anttila", + "Establish", + "results" + ], + [ + "Joonas", + "Åstrand", + "Import", + "teleportation" + ], + [ + "John", + "Signell", + "Export", + "teleportation" + ], + [ + "Joonas", + "Suo-Anttila", + "Feed", + "world peace" + ], + [ + "Henrik", + "Dahlström", + "Feed", + "world peace" + ], + [ + "Johannes", + "Lehtinen", + "Produce", + "the dog" + ], + [ + "Patrik", + "Dahlström", + "Polish", + "the weather" + ], + [ + "Leif", + "Signell", + "Import", + "teleportation" + ], + [ + "Henrik", + "Paul", + "Activate", + "world peace" + ], + [ + "Artur", + "Dahlström", + "Design", + "world peace" + ], + [ + "Leif", + "Suo-Anttila", + "Activate", + "results" + ], + [ + "Patrik", + "Signell", + "Activate", + "soup" + ], + [ + "Teemu", + "Lehtinen", + "Activate", + "world peace" + ], + [ + "Patrik", + "Dahlström", + "Polish", + "the dog" + ], + [ + "Henrik", + "Åstrand", + "Establish", + "soup" + ], + [ + "Patrik", + "Signell", + "Deliver", + "Vaadin" + ], + [ + "Teemu", + "Åstrand", + "Launch", + "the weather" + ], + [ + "Patrik", + "Lindström", + "Polish", + "Grid" + ], + [ + "Henrik", + "Åstrand", + "Invent", + "the dog" + ], + [ + "Patrik", + "Ahlroos", + "Export", + "teleportation" + ], + [ + "Teemu", + "Signell", + "Export", + "Grid" + ], + [ + "Johannes", + "Ahlroos", + "Establish", + "soup" + ], + [ + "Teemu", + "Paul", + "Launch", + "world peace" + ], + [ + "Joonas", + "Lindström", + "Launch", + "soup" + ], + [ + "Artur", + "Lindström", + "Export", + "results" + ], + [ + "Joonas", + "Dahlström", + "Implement", + "teleportation" + ], + [ + "Artur", + "Ahlroos", + "Implement", + "the weather" + ], + [ + "Joonas", + "Suo-Anttila", + "Import", + "world peace" + ], + [ + "Johannes", + "Lindström", + "Launch", + "Vaadin" + ], + [ + "Johannes", + "Lindström", + "Export", + "Vaadin" + ], + [ + "Leif", + "Lindström", + "Establish", + "soup" + ], + [ + "Joonas", + "Dahlström", + "Activate", + "teleportation" + ], + [ + "Johannes", + "Lehtinen", + "Deliver", + "Grid" + ], + [ + "Henrik", + "Signell", + "Fix", + "Vaadin" + ], + [ + "Henrik", + "Suo-Anttila", + "Polish", + "Grid" + ], + [ + "Artur", + "Signell", + "Fix", + "world peace" + ], + [ + "Henrik", + "Suo-Anttila", + "Establish", + "results" + ], + [ + "Joonas", + "Signell", + "Feed", + "the weather" + ], + [ + "Artur", + "Dahlström", + "Disable", + "Vaadin" + ], + [ + "Leif", + "Suo-Anttila", + "Launch", + "the dog" + ], + [ + "Henrik", + "Åstrand", + "Invent", + "soup" + ], + [ + "Joonas", + "Paul", + "Deliver", + "Vaadin" + ], + [ + "John", + "Lindström", + "Invent", + "world peace" + ], + [ + "Leif", + "Åstrand", + "Deliver", + "results" + ], + [ + "Artur", + "Lindström", + "Fix", + "the dog" + ], + [ + "Henrik", + "Suo-Anttila", + "Activate", + "the dog" + ], + [ + "Leif", + "Paul", + "Deliver", + "results" + ], + [ + "Leif", + "Ahlroos", + "Disable", + "the weather" + ], + [ + "Artur", + "Suo-Anttila", + "Produce", + "soup" + ], + [ + "Artur", + "Signell", + "Disable", + "Vaadin" + ], + [ + "Joonas", + "Lehtinen", + "Launch", + "soup" + ], + [ + "Teemu", + "Lehtinen", + "Deliver", + "the weather" + ], + [ + "Henrik", + "Åstrand", + "Export", + "Grid" + ], + [ + "Artur", + "Lindström", + "Activate", + "soup" + ], + [ + "Artur", + "Dahlström", + "Implement", + "the weather" + ], + [ + "Joonas", + "Dahlström", + "Fix", + "the weather" + ], + [ + "Joonas", + "Dahlström", + "Activate", + "soup" + ], + [ + "Johannes", + "Dahlström", + "Fix", + "the weather" + ], + [ + "Artur", + "Åstrand", + "Implement", + "soup" + ], + [ + "Joonas", + "Ahlroos", + "Feed", + "the dog" + ], + [ + "John", + "Dahlström", + "Invent", + "soup" + ], + [ + "Patrik", + "Suo-Anttila", + "Design", + "results" + ], + [ + "Johannes", + "Lindström", + "Design", + "soup" + ], + [ + "Teemu", + "Paul", + "Fix", + "the weather" + ], + [ + "John", + "Paul", + "Produce", + "Vaadin" + ], + [ + "Leif", + "Suo-Anttila", + "Feed", + "Grid" + ], + [ + "Johannes", + "Åstrand", + "Disable", + "Vaadin" + ], + [ + "Patrik", + "Lehtinen", + "Fix", + "Vaadin" + ] + ]; + + myBigDataSize = myBigData.length; diff --git a/vaadin-grid/sort-asc.svg b/vaadin-grid/sort-asc.svg new file mode 100644 index 0000000..ce1e7d9 --- /dev/null +++ b/vaadin-grid/sort-asc.svg @@ -0,0 +1 @@ + diff --git a/vaadin-grid/sort-desc.svg b/vaadin-grid/sort-desc.svg new file mode 100644 index 0000000..ab1b941 --- /dev/null +++ b/vaadin-grid/sort-desc.svg @@ -0,0 +1 @@ + diff --git a/vaadin-grid/test/common.js b/vaadin-grid/test/common.js new file mode 100644 index 0000000..4815d96 --- /dev/null +++ b/vaadin-grid/test/common.js @@ -0,0 +1,86 @@ +var grid, wrapper; + +describe.feature = function(description, suite) { + describe(description, function() { + before(function(done) { + initializeGrid(); + + waitUntil(function() { + return grid.then; + }, done, done); + }); + + after(function() { + return grid; //make sure everything is finished before moving on. + }); + + suite(); + }); +}; + +function gridContainsText(_grid, text) { + return Polymer.dom(_grid.root).querySelector(".v-grid-tablewrapper").parentElement.innerHTML.indexOf(text) > -1; +} + +function waitUntil(check, exec, onTimeout) { + var id = setInterval(function() { + if (check()) { + clearInterval(id); + clearTimeout(timeoutId); + exec(); + } + }, 100); + + var timeoutId = setTimeout(function() { + clearInterval(id); + assert.fail(); + onTimeout(); + }, 5000); +} + + +function initializeGrid() { + wrapper = document.getElementById("gridwrapper"); + wrapper.innerHTML = "" + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " "+ + "
Grid10000
VaadinX1000
NameValue
" + + "
"; + grid = wrapper.querySelector("v-grid"); + + return grid; +}; + +var local = function() { + return Polymer.dom(grid.root); +}; +var light = function() { + return Polymer.dom(grid); +}; + +var qLocal = function(selector) { + return local().querySelector(selector); +}; +var qaLocal = function(selector) { + return local().querySelectorAll(selector); +}; +var qLight = function(selector) { + return light().querySelector(selector); +}; diff --git a/vaadin-grid/test/grid-binding-data.html b/vaadin-grid/test/grid-binding-data.html new file mode 100644 index 0000000..2d82b26 --- /dev/null +++ b/vaadin-grid/test/grid-binding-data.html @@ -0,0 +1,185 @@ + + + + + + + + + + + + + + + + +
+ + + + + diff --git a/vaadin-grid/test/grid-editing-columns.html b/vaadin-grid/test/grid-editing-columns.html new file mode 100644 index 0000000..105aa3e --- /dev/null +++ b/vaadin-grid/test/grid-editing-columns.html @@ -0,0 +1,412 @@ + + + + + + + + + + + + + + + + +
+ + + + + diff --git a/vaadin-grid/test/grid-editor-handler.html b/vaadin-grid/test/grid-editor-handler.html new file mode 100644 index 0000000..20c6e66 --- /dev/null +++ b/vaadin-grid/test/grid-editor-handler.html @@ -0,0 +1,202 @@ + + + + + + + + + + + + + + + + +
+ + + + + diff --git a/vaadin-grid/test/grid-properties.html b/vaadin-grid/test/grid-properties.html new file mode 100644 index 0000000..46743a4 --- /dev/null +++ b/vaadin-grid/test/grid-properties.html @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + +
+ + + + + diff --git a/vaadin-grid/test/grid-redrawer.html b/vaadin-grid/test/grid-redrawer.html new file mode 100644 index 0000000..81c5f49 --- /dev/null +++ b/vaadin-grid/test/grid-redrawer.html @@ -0,0 +1,201 @@ + + + + + + + + + + + + + + + + +
+ + + + + diff --git a/vaadin-grid/test/grid-rendering-light-dom.html b/vaadin-grid/test/grid-rendering-light-dom.html new file mode 100644 index 0000000..0251cd7 --- /dev/null +++ b/vaadin-grid/test/grid-rendering-light-dom.html @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + +
+ + + + + diff --git a/vaadin-grid/test/grid-scrolling-rows.html b/vaadin-grid/test/grid-scrolling-rows.html new file mode 100644 index 0000000..a0ff781 --- /dev/null +++ b/vaadin-grid/test/grid-scrolling-rows.html @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + +
+ + + + + diff --git a/vaadin-grid/test/grid-selecting-rows.html b/vaadin-grid/test/grid-selecting-rows.html new file mode 100644 index 0000000..0ac2eee --- /dev/null +++ b/vaadin-grid/test/grid-selecting-rows.html @@ -0,0 +1,645 @@ + + + + + + + + + + + + + + + + +
+ + + + + diff --git a/vaadin-grid/test/grid-sorting-rows.html b/vaadin-grid/test/grid-sorting-rows.html new file mode 100644 index 0000000..59acbbf --- /dev/null +++ b/vaadin-grid/test/grid-sorting-rows.html @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + +
+ + diff --git a/vaadin-grid/test/grid-static-sections.html b/vaadin-grid/test/grid-static-sections.html new file mode 100644 index 0000000..757e8d2 --- /dev/null +++ b/vaadin-grid/test/grid-static-sections.html @@ -0,0 +1,222 @@ + + + + + + + + + + + + + +
+ + + + \ No newline at end of file diff --git a/vaadin-grid/test/index.html b/vaadin-grid/test/index.html new file mode 100644 index 0000000..e9bd2fc --- /dev/null +++ b/vaadin-grid/test/index.html @@ -0,0 +1,24 @@ + + + + + + + + + + + diff --git a/vaadin-grid/tick.svg b/vaadin-grid/tick.svg new file mode 100644 index 0000000..c659bc0 --- /dev/null +++ b/vaadin-grid/tick.svg @@ -0,0 +1,3 @@ + + + diff --git a/vaadin-grid/vaadin-grid-doc.html b/vaadin-grid/vaadin-grid-doc.html new file mode 100644 index 0000000..838bcd7 --- /dev/null +++ b/vaadin-grid/vaadin-grid-doc.html @@ -0,0 +1,631 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vaadin-grid/vaadin-grid-import.html b/vaadin-grid/vaadin-grid-import.html new file mode 100644 index 0000000..a308ae3 --- /dev/null +++ b/vaadin-grid/vaadin-grid-import.html @@ -0,0 +1,627 @@ + + + + + + + + diff --git a/vaadin-grid/vaadin-grid.html b/vaadin-grid/vaadin-grid.html new file mode 100644 index 0000000..5a545bf --- /dev/null +++ b/vaadin-grid/vaadin-grid.html @@ -0,0 +1,983 @@ + + + + + + + + + + + + + + -- cgit v1.2.3