Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spreadsheet.html Example #32

Merged
merged 2 commits into from
Jun 3, 2020
Merged

spreadsheet.html Example #32

merged 2 commits into from
Jun 3, 2020

Conversation

texodus
Copy link
Member

@texodus texodus commented Jun 3, 2020

A <td> within a <table> has a number of interesting metadata values which this PR now calculates more-correctly:

  • size_key - a unique column ID (including row header <th> columns.
  • cidx - the index within the current <tr>.
  • x and y - the corresponding indices into the data property returned by the data model.

Also adds a motivating example which requires precise data spatial awareness, spreadsheet.html, which uses contenteditable to implement a simple Excel-style app complete with an expression language with range syntax support:

spreadsheet

@texodus texodus merged commit a667cd8 into master Jun 3, 2020
@texodus texodus deleted the spreadsheet-example branch June 3, 2020 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant