Comments (8)
I also found, that a class is undefined:
mostly like stemming from line 64 in datatables-render.js
htmlTbl += "<tr style='vertical-align:" + rowVAlign + ";background-color:" +
rowBgColor + "; " + borders + "!important;' class='" + trClass + "'>";
from ep_tables.
Yes. I thought we needed css for rows but turned out not so but I didn't bother to clean it up.
@ audreyt did really well cleaning it up with the recent pull request. However I do not know much about LiveScript and I'm not sure weather to continue as JS or LS.
from ep_tables.
Hi. I further analysed the border-collapse problem. I found,that a 3x3 table (for example) is composed of 3(!) tables with 1row x 3 colums each. This is why the "inside" borders do not collapse: they belong to different tables.
Can you confirm my observations
- the thick un-collapsed borders as shown
- the "one" table in the pad is actually constructed as three tables of single-row tables
?
It was not possible to find quickly an easy and convincing fix, because it would require a complicated re-design. Have you ever thought about doing this (a redesign). I added and checked in
* { border-collapse:collapse }
or manually, in all table related tags table, tbody, tr, td, but this did not the trick, because it isn's a single table as said above.
from ep_tables.
I am willing to help to fix the plugin.
from ep_tables.
@gedion Thanks for pointing to the work of audreyt - haven't seen that before. Will have a look to it. The move to LiveScript will certainly not please everyone.
from ep_tables.
@Wikinaut. Thank you Wikinaut. Would appreciate your help tremendously.
Yes. Your analysis is correct. Each row is a table itself. As you know changesets redraw a magic dom line each time there is a change. If we put an entire table(multiple rows) within a magic domline, performance becomes an issue. Also epLite limits the length of line characters to be about 2^11(2048). The size of a table would be limited drastically.
So we decided that we will have one row(hence one table) per line.
As you have run into, this brings accidental complexities. We have overcome a lot.
One suggestion to the one you're noticing is that we can apply our own border line sizes to make all border lines appear the same size. Right now, notice only the outer borders are 1 size less than the inner borders.
If we can make them the same size, the table won't be as ugly. However it will mean that we can't have a table of border size = 1
from ep_tables.
@gedion ty very much for your detailed explanation, which helped me a lot. I still think, it would be possible to have all 1px borders (but now I know, this is not a matter of simply applying "border-collapse:collapse" to all table elements)
from ep_tables.
It'll be interesting to see your solution.
from ep_tables.
Related Issues (14)
- Initial Feedbacks HOT 1
- Table plugin does not work HOT 7
- partial table deletion replaces content with "payload: ..."
- Menu not closing HOT 1
- First table cell has a blue border. This is strange and should be repaired. HOT 2
- Close "Table" button on second click
- ep_tables plugin breaks the pad timeslider HOT 6
- Referencing yui.yahoo stuff is not nice with HTTPS HOT 4
- Firefox throws error in firebug: Error: Permission denied to access property 'templatesMenu' HOT 2
- Export
- doesn't work with v1.2.9 HOT 2
- No License specified HOT 1
- ep_tables is dead.. long life ep_tables2 (new repo) HOT 2
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 ep_tables.