Comments (5)
There may be a more clever way to do this. We can detect which cells need to re-drawn (ie. they come into view, they are resized, etc..) and only re-draw the cells affected.
from doby-grid.
What i currently dont understand is why it is needed to Fall the formatter
again when the cell is resized because wie habe responsive HTML inside the
Fell wie dont need to Reformat it. AO it would be nice to just be able to
turn this off.
Am 18.12.2014 17:25 schrieb "Globex Designs, Inc" <[email protected]
:
There may be a more clever way to do this. We can detect which cells need
to re-drawn (ie. they come into view, they are resized, etc..) and only
re-draw the cells affected.—
Reply to this email directly or view it on GitHub
#173 (comment)
.
from doby-grid.
DobyGrid doesn't know exactly what you're doing inside your formatter. Maybe you're taking the size of the viewport into your calculation when drawing your cell. In order to accommodate a wide range of use-cases, we force a re-render of the cells during a resize. This is similar to default <table>
element behaviour.
from doby-grid.
Yes i understand that. But i do know what i am doing so it would be nice to
just habe the OPTION to disable it. Its always hard if your trying to get
your stuff done but you cant get around intelligent things that components
are doing. Its just about an added flexibility not about changing the
default behaviour.
Am 18.12.2014 18:39 schrieb "Globex Designs, Inc" <[email protected]
:
DobyGrid doesn't know exactly what you're doing inside your formatter.
element
Maybe you're taking the size of the viewport into your calculation. In
order to accommodate a wide range of use-cases, we force a re-render of the
cells during a resize. This is similar to default
behaviour.—
Reply to this email directly or view it on GitHub
#173 (comment)
.
from doby-grid.
No problem. We can add an option to disable re-rendering during the resize event.
from doby-grid.
Related Issues (20)
- cmd+c scrolls at the bottom of the page HOT 2
- Add unit test for new `options.forceRemoteSort` option
- 0.1.1 Release Deployment Tasks
- Initializing Doby grid without columns
- Scrolling will jump when scrolled to bottom and selecting something HOT 2
- Add unit test for `options.menuExtensionsPosition` option
- 0.1.2 Release Deployment Tasks
- setSorting does not apply sort icon to sorted column HOT 1
- postprocess not getting called on all rows (0.1.1)
- changing data.height does not affect position of subsequent rows
- Create a new option that allows you to control the margin between the grid and the scrollbar
- Scrollbar is not removed when groups are collapsed HOT 4
- Provide access to events to capture when the quick filters are hidden or shown
- 0.2.0 Release Deployment Tasks
- Grunt build throws error HOT 1
- Resizable Rows and Nested Grids - Nested grids are destroyed when grid or row is resized HOT 1
- clicking on the same cell causes the contextmenu to appear multiple times HOT 1
- Exporting table to HTML doesn't escape HTML tags HOT 1
- How to disable Export Option ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doby-grid.