bpmn-io / table-js Goto Github PK
View Code? Open in Web Editor NEWA blazing fast library for viewing and editing tables
License: MIT License
A blazing fast library for viewing and editing tables
License: MIT License
Related to bpmn-io/dmn-js#8
Are there any docs or examples for how to use this and what it does?
Can you add integrations with https://github.com/bpmn-io/diagram-js
Is your feature request related to a problem? Please describe
Like we have in diagram.js
, it would make sense to have a getGraphics
functionality for the ElementRegistry
in table-js
.
From an APIs perspective, it would be nice to have this aligned in all core libraries. I humbled over this while implementing test cases inside dmn-js-decision-table
and get the DOM node from an element.
Describe the solution you'd like
Implement ElementRegistry#getGraphics
to return a SVGElement oder a DOMNode.
Describe alternatives you've considered
Do nothing because it's not feasible.
Additional context
Hi!
I found an issue in case of Hungarian keyboard layout (or can be other layout too).
When user would like to type greater than sign '>' (AltGr + Y) e.g. in DMN advanced mode, then it is not typing '>' instead redo function occurs.
The problem is that in some type of language keyboard layout there is an AltGr key which fires both altKey and ctrlKey (command key) in Javascript.
The bug located in lib/features/keyboard/Keyboard.js:205
Which looks like the following:
function isCmd(modifiers) {
return modifiers.ctrlKey || modifiers.metaKey;
}
But it should look like this:
function isCmd(modifiers) {
return !modifiers.altKey && (modifiers.ctrlKey || modifiers.metaKey);
}
Note:
I found several Keyboard module in different bpmn.io projects, so if you agree with the above solution then it should implement in those Keyboard modules also (or not) (or standardize Keyboard.js because it looks like code duplication).
Thank you,
Best regards,
Rómeó Nagy
Reproduce:
foo
bar
elements.changed
being firedExpected behavior:
Actual behavior:
Related to bpmn-io/dmn-js#367.
The context menu is positioned automatically depending on how much space there is on the screen. There should be an option for disabling that automatic positioning.
Related to bpmn-io/dmn-js#526
table-js performs poorly when dealing with >500 rows which sometimes is required. This is due to the core architecture of the library which was not designed with performance in mind. Therefore a rewrite of the library is more promising than trying to tweak the current architecture for better performance.
The selection feature currently only lets you directly editable cells. Complex cells and other types of cells can't be selected and there is no selection change when clicking them, therefore there are also no events fired. The selection feature is therefore not consistent.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.