SlickGrid icon indicating copy to clipboard operation
SlickGrid copied to clipboard

Bootstrap or styles

Open carles9000 opened this issue 4 years ago • 4 comments

Hi all,

Can it be used with bootstrap 4 styles? Any 6pac slickgrid example with styles?

Thank you very much and great job.

Carlos.

carles9000 avatar Sep 22 '20 11:09 carles9000

I have SlickGrid working with Bootstrap 4 in Angular-Slickgrid and Aurelia-Slickgrid libs but it's my own styles that are modified versions of the original SlickGrid styles, it's also not using jQuery UI styling. So that might not fully answer your question with SlickGrid styling itself but my libs are using this 6pac/SlickGrid fork. I also recently created a 3rd lib Slickgrid-Universal which also uses this fork, this new lib doesn't rely on any framework, it can be used with JavaScript/TypeScript, this lib has the same styles coming from my other 2 libs.

So in brief, I'm not using plain SlickGrid styling anymore, my starting point a few years ago was this reebalazs/SlickGrid-bootstrap and it's written in LESS, however my styling changed a lot since then and I'm now using SASS. So perhaps you can copy the styling from that repo or you can use any of my 3 libs.

Or it might just work with Bootstrap 4, have you even tried at all? I know there's a Bootstrap 3 Example

ghiscoding avatar Sep 22 '20 12:09 ghiscoding

Hi Mr. ghiscoding,

Years ago I worked with @mleibman's slickgrid and for me it was the best grid of all, this guy had things very neat in his head and very elegant code.

Now I have the need to reprogram and have seen the fork of 6pack. It has evolved and it seems perfect to me, but I have been surprised that there was no example with bootstrap 4. I will look at the bootstrap 3 example and try to change the style to bootstrap 4. I also asked to know what parts of the css I should modify but I suppose that from the example bootstrap 3 I can find out.

Thanks for your extensive answer, I will test your suggestions

Regards. Carles

carles9000 avatar Sep 22 '20 14:09 carles9000

Yes it has evolved a lot from the original fork, we added a few new controls/plugins and fixed many bugs, I think this fork will work with Bootstrap 4 but it just won't be styled as Bootstrap, it will keep jQuery UI styling because that is the default in SlickGrid unless you override it with separate CSS styling, like I did in my libs.

I was also like you, I had to use a different grid with Angular and put SlickGrid aside but eventually came back to SlickGrid because it's just too powerful and customizable.

ghiscoding avatar Sep 22 '20 14:09 ghiscoding

Thanks for your time and clarifications :-)

Regards. C.

carles9000 avatar Sep 22 '20 15:09 carles9000

we now have a new Alpine Theme, see SlickGrid 5.0 Announcement & Migration

ghiscoding avatar Sep 19 '23 18:09 ghiscoding