Any examples of extensions that can host WiseJ controls

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

I wanted to create an extension for Gridstack
https://troolee.github.io/gridstack.js/
I had created something similar for VWG using the Gridster library but essentially I want to create a dashboard where I can drop various controls and drag them around and resize them in a grid.

I don’t see any extensions of examples that would do that
Any ideas to point me in the right direction?

Thanks,
Mark

By the way today I converted a part of our product from VWG to WiseJ and it was pretty easy!!

  • You must to post comments
0
0

I might go down the full movable controls route and see how well that works. Or maybe I can figure out how to hack in support 🙂

  • You must to post comments
0
0

Hi Mark,

You can certainly integrate gridster or gridstack as any jquery widget. The jQueryKnob extension is a jquery widget integrated in Wisej. There are several ways to do that, but the easier is to use a Wisej.Web.Widget, add the Packages (javascript libraries) and put the javascript in InitScript adding the init function and any other function you may need. See the source code for the jQueryKnob.

However, once you have the gridster managing a bunch of divs, you still have the problem of moving Wisej widgets into the divs. It can be done, but it requires more javascript and some tricks on the client side, It’s a lot easier to integrate a javascript widget into wisej rather than “extract” a wisej widget out of its environment and place it into “unmanaged” html.

With Wisej you can already move any control (Movable property) and resize any control (ResizableEdges property). You will get the LocationChanged and SizeChanged events on the server where you can enforce any layout.

Best,

Luca

  • You must to post comments
Showing 2 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json