Fork me on GitHub
#hoplon
<
2016-08-04
>
adamw07:08:54

folks, are there any suggestions for what library to use to build a simple grid display? I want to show a portion of a spreadsheet? I'm playing with the cljsjs package of jqgrid but it doesn't really integrate into hoplon (esp. not hoplon ui) particularly wonderfully.

dm307:08:32

my guess it would be easiest to build it yourself

dm307:08:41

do you need any fancy layouting, interactivity?

adamw08:08:27

dm3: so that's the thing; upfront, no, not particualrly. Longer term, yes, would very much like to have collapsible rows, selectable rows &c. &c. which a lot of the grid libraries give for free

dm308:08:14

I had to make a grid thing once

dm308:08:31

the problem I found was that all of the libraries had a huge number of features

dm308:08:43

but each only a subset of what I needed

dm308:08:58

+ 80% of what I didn't need

adamw08:08:05

🙂 this is very true

adamw08:08:15

at the end of the day I just want to show a spreadsheet damnit

dm308:08:17

and I ended up writing my own stuff in hoplon

adamw08:08:29

and this seems remarkably hard to do with the grids. They all assume tabular data

adamw08:08:37

as in consistent values and formatting along columns

dm308:08:59

my needs were more in line with http://dsmorse.github.io/gridster.js/

adamw08:08:14

'It's so sweet we like to call it drag-and-drool.'

adamw08:08:37

shame slickgrid isn't part of cljsjs

adamw08:08:41

but it does seem to be in clojars

flyboarder12:08:51

@adamw: looks like a good reason to get slick grid on cljsjs

adamw12:08:14

did it with handsontable

adamw12:08:26

put in a pull req to put that into cljsjs 🙂