vertical thumbnail multiple group - jssor

i want to show different galery in the vertical thumbnails with one slide. I would separate the thumbnails like on this picture:
http://s21.postimg.org/6nvdszkc7/jssor_group_thumbnails.png
Between each group, I would a space (50px in the exemple).
Can you help me?
(sorry for my english)

$ThumbnailNavigatorOptions: {
...,
$SpacingY: 50,
...
}

Related

Change columns from pixel width to percentage width to be responsive and fill the table in ag-grid

Currently, each column has a pixel width. So there are 2 issues I'd like ot tackle here: 1.) If there are only a few columns, I’d like columns to fill the entire table so there is not empty space. So for example, if there are 3 columns, each of those columns will be 33.33% wide. 2.) We'd like to remove avoid horizontal scrolling by either having the column widths fit to the content or also allowing cell content to wrap if we need to. Bonus: If there's a way to say, "Hey if there are an extremely high number of columns (like 70 columns for example), then use a horizontal scroll" that'd be awesome! Thanks for any help!!
Instead of this:
pixelWidth
Like this:
percentageWidth
and
Instead of this:
enter image description here
Like this:
enter image description here

My Ag-grid display is getting messed up when I scroll

I have an ag-grid display with about 1000 rows and 3 columns ... initially the display looks fine ... but as I scroll, somewhere around the 150th column.. my grid display gets messed up .. I stop seeing the border, scroll bar, header of the grid and left and right columns disappear ... below is an image of what I see. if I scroll further down, I will stop seeing the left and right columns and the header completely..
Any help on this would be greatly appreciated.. I don't even know where to look.
(Note: please ignore the black lines in the left column. I had to cover the text before I can post the image here.)
thank you
Vij
I had the same problem, when i used Internet Explorer.
I'm not so sure, that in your case it is the same, but my problem was solved with the lagging.
When you initialize your ag-gird add this to it:
suppressScrollLag: true
I hope this solves your problem.
One other option, even though it's not the most elegant one, is to increase the number of rows that get rendered outside the viewable content:
gridOptions.rowBuffer = 100;
The default is set to 20 rows.

Aligning text in pieChart legend - How to right align the content inside the legend

As of now my legend is displayed like this
test1 5%
test2test2 10%
test2test2test3 85%
I am trying to display like this, with spaces and right aligned.
test1-------------------------5%
test2test2test2-----------10%
test3test3test3-----------85%
Any suggesstions appreciated
You can use the approach shown here to create a separate panel containing your legend items. Give the panel a GridLayout(0, 1); specify JLabel.LEFT for the left column and JLabel.RIGHT for the right column. A complete example is shown here.

iTextSharp - Scaling and positioning page

I am reading an existing PDF file into a new PDF file, and scaling the first page based on the page dimensions. The page gets scaled to 90-95% in order to make room for some footer text. The problem I have is that the resulting scaled page leaves white space at the top of the page, NOT the bottom. Is there a way to control the results so that they start in the top left of the page and not the bottom left?
Here's my code that adds the scaled page:
cb.AddTemplate(importedPage, scaleSize, 0, 0, scaleSize, 5, 20);
Object "cb" is a PDFContentByte class, while "scaleSize" is a float set to .9 or .95. The scaling works great, but the positioning is an issue. Thanks!
figured it out: the value of "20" for the final parameter was incorrect. A value of 100 is far more suitable for my purposes, and now I understand far better the coordinate system in PDF/iText. For those interested, the 0, 0 point for a PDF document is the lower left corner.

Count number of grid boxes which cover an object in an image

I have displayed grid boxes over an image. I want to count number of grid boxes which cover an object in that image
for example http://snag.gy/geFIZ.jpg. In this image I have displayed grid on image but i need to count how many girds have been taken to cover that object completely.? Kindly help me regarding this
Regards
Dams
Slow, but easy to implement way:
1) Use this topic to add lines to image.
2) Make something like this:
Make a cycle to check every box. In each box check pixels. If you found first white pixel in box, add 1 to number of covering boxes and go for next one.
No code from you - no code from me, sorry :) Good luck!