Re:Backgrid: A featureful grid UI for Backbone.js
by kakuri on Friday January 25, 2013 @11:04AM
(#5116012)
Chrome 24 / Win 7 - clicking in cells in the Date or Population columns changes the column width.
Re:Backgrid: A featureful grid UI for Backbone.js
by wyuenho on Friday January 25, 2013 @12:02PM
(#5116411)
That's something I have to work on:
Re:Backgrid: A featureful grid UI for Backbone.js
by wheaties on Friday January 25, 2013 @09:32AM
(#5115542)
Love it. Really! How difficult would it be to embed a D3 chart in one of the columns? Would that be something tricky to add or could it be made into a column type easily?
Re:Backgrid: A featureful grid UI for Backbone.js
by wyuenho on Friday January 25, 2013 @09:43AM
(#5115581)
Probably would be best implemented as an extension that can display a chart in a lightbox or something. Probably something akin to this:
Re:Backgrid: A featureful grid UI for Backbone.js
by kzahel on Friday January 25, 2013 @08:49AM
(#5115330)
Can it handle say 1 million rows, by lazily creating the DOM elements when the scroll into view (like, say, SlickGrid)
Re:Backgrid: A featureful grid UI for Backbone.js
by wyuenho on Friday January 25, 2013 @09:49AM
(#5115615)
Can you read 1 million rows at a time like Neo :P
Jokes aside, no it cannot, not yet anyway. This is version 0.1 and I really have no intension of cloning SlickGrid. That said, the infrastructure is here
http://www.reddit.com/r/javascript/comments/176tvf/backgridj...
and avoiding DOM repainting is on the top of my list for version 0.2.
https://github.com/wyuenho/backgrid/issues/26
This should take only 3 lines of code.
PR welcome!
Re:Backgrid: A featureful grid UI for Backbone.js
by zaider on Friday January 25, 2013 @09:36AM
(#5115552)
This is really useful. Thank you.
With the scrolling list would it be possible to make the header row stay in place? Some people prefer to scroll with large amounts of data so that they can just use ctr+f to quickly find the links to what they want.
Re:Backgrid: A featureful grid UI for Backbone.js
by wyuenho on Friday January 25, 2013 @09:44AM
(#5115587)
It's in the works
https://github.com/wyuenho/backgrid/issues/4
PR welcome!
Re:Backgrid: A featureful grid UI for Backbone.js
by elliottkember on Friday January 25, 2013 @06:28AM
(#5114960)
Hey, great work! One thing I found - your MomentCell example seems to steal focus from the document. You can't blur it by clicking elsewhere, which means any other keystrokes (except escape or enter) on the page go directly to it.
Re:Backgrid: A featureful grid UI for Backbone.js
by wyuenho on Friday January 25, 2013 @06:37AM
(#5114974)
Stealing focus is intentional because I want you to correct your mistakes, this is the same for all other cell types that do validation.
But not giving up focus by clicking elsewhere is not. File me a bug and thanks!
Re:Backgrid: A featureful grid UI for Backbone.js
by Jare on Friday January 25, 2013 @06:01AM
(#5114909)
Looks excellent! I don't have an excuse to play with this right now, but I'm forwarding to a colleague that is going to love it. Can't say much more than big thanks for sharing your work.
Re:Backgrid: A featureful grid UI for Backbone.js
by h2s on Friday January 25, 2013 @07:19AM
(#5115083)
This is great, I think this is going to come in pretty handy for an upcoming project at work. What a great method of job hunting, I hope it works out!
Re:Backgrid: A featureful grid UI for Backbone.js
by phineas on Friday January 25, 2013 @11:41AM
(#5116273)
I am interested in the way you used your project to get possible job offers. Did it work? Please let me know, that way I can follow suit.
Re:Backgrid: A featureful grid UI for Backbone.js
by wyuenho on Friday January 25, 2013 @12:01PM
(#5116402)
1000s of people have done before. Why don't u do it anyway and find out?
Re:Backgrid: A featureful grid UI for Backbone.js
by pault on Friday January 25, 2013 @10:14AM
(#5115755)
Crashes safari on my iPhone 4s, iOS 5.1.1.
Re:Backgrid: A featureful grid UI for Backbone.js
by wyuenho on Friday January 25, 2013 @10:20AM
(#5115786)
Yeah the gh-pages website has too many grids and codemirror instances opened up at once. The examples really need to load lazily on mobile. Any help would be greatly appreciated.
And much thanks goes Jeremy for writing Backbone.js and posting this!
(BTW, I'm looking for a job, so if anyone is interested, please email me myhnhandle [at] googlesmailservice dot com)