how to set min width on each column in jqgrid guriddo - jqgrid

Im trying newest commercial version jqgrid guriddo and I need something like min-width on column.
Im trying everything but nothing works fine.
My header column name is so long and for small devices doesnt display correct.
I dont want fixed width becouse for bigger devices is grid smaller.
I need dynamic column which cant be lower than min-width but can be only longer.

In Guriddo there is a such option called minColWidth, which defines the minimal column width when resizing - look in the official documentation here
There was a small problem regarding this options, which is fixed now, so you can test its functionality when you get the fixed code from GitHub
Thank you very much for your help to find this problem.

Related

How can I add an icon in a label?

I have 2 questions need your help.
I would like to add a button on each plot to be a setting button. I use label with event listener and it works well ( as shown in attached file). However, my client asked me to change from normal text to graphic icon? How should I proceed?
As you can see from the attached image, the third plot is macd series. The value rage is from -3e-8 to 3e-8 (by my observation). I manually set the maximum and minimum, and it get incorrect scale as shown.
How should I set the maximum and minimum for yScale?
I don't know how to get maximum and minimum value from a series. Can you suggest me?
A1 – Unfortunately, the current version of AnyChart doesn't provide an opportunity to add custom-made buttons inside the chart. But you can use a trick and use stage based layout. It means that the container includes a stage. The stage includes the stock chart all other elements by layers. Using this approach you can place an image (icon) upon the plot and set a listener just as for the 'settings' label.
For details, please, check the sample in the comment below.
A2 - We are planning to fix this behavior in 8.4.2 update (approximately by the end of November 2018).
I will notify you when the fix becomes available.
As a temporary workaround, you can get min /max value from your MACD indicator. For details, please, check the sample in the comment below.
You can apply min/max to the yScale of plot #0 like this:
chart.plot(0).yScale().minimum(minValue);
chart.plot(0).yScale().maximum(maxValue);
We are glad to inform you that we have released 8.4.2 update which brings many fixes and improvements. This update also includes a fix on the issue you reported. Now calculation of min/max of Y-scale works properly with small values. Update your binaries to get the fix.

how can I adjust jqGrid rows/columns to fill 100% of ths space?

my jqGrid columns don't fill all of the grid space.
I've read some questions, found this answer, but it didn't work for me.
when the page loads, the grid looks like this:
I'd be very grateful if someone could help me.
Thanks!
The problem should not exist in the old form described in the old answer. If you would use height: "auto" or would use scrollOffset: 0 then the free space on the right side will be not visible. The default options used in free jqGrid (it's the fork which I develop) are changed a little(see readme and wiki). So that one can create the grid with less options and to have less problems like the problem in your question.
The free space on the right size exist typically because one use default options of jqGrid. The width of the free space corresponds the size of scrollOffset option which have static value in jqGrid. Free jqGrid instead (see here) set it dynamically inside of internal method fixScrollOffsetAndhBoxPadding which will be called inside of other internal methods finalReportSteps or finalReportVirtual at the end of every filling of the grid. So one will typically don't have the problems at all.

Birt - Crosstab getting clipped on PDF

My crosstab looks fine in the web viewer but when I export to PDF it's clipping it like showin in the image. It's also making the columns much wider than they need to be. (The web version isn't doing that.)
Does anyone know how to fix it? I tried searching for an answer and didn't see anything.
Without seeing the parameters you're passing to your RenderTask it is hard to tell exactly, so I'm going to guess that you have PAGE_OVERFLOW set to CLIP_CONTENT rather than FIT_TO_PAGE_SIZE.
A note of caution though. This discussion on the Eclipse forum mentions that page-break interval settings might override the page size render options. Note that the OP on the linked discussion was having a problem with the PDF exported from the HTML viewer.
EDIT: according to the docs inside genReport.sh you are able to pass parameters on the command line (-p pageOverflow=FIT_TO_PAGE_SIZE) or you can create a parameter file (-F params.txt)
It is unclear to me whether you can pass the constant (FIT_TO_PAGE_SIZE) or must pass its expected value (2), so you might have to try both.
I think you have restricted the width/height of your report
goto Master Page then click on the general settings and there you find the type drop-down choose Custom.
Through this custom options you can give your own height/width of your report and too in the report layout.By doing this you can expand your report width
NOTE: The master page width should equal to the width of your layout.

Responsive grid not working in firefox or opera

For some reason my responsive grid is breaking when I open my website in Firefox. I'm using skeleton grid system and I haven't really had any problems with cross browser compatibility before but I modified the grid (to a 8 column grid instead of a 16) and I think I may have broken something.
I can't figure it out because all I did was remove the classes for the other 8 columns.
The columns start where they are supposed to but they are huge and extend off the page now.
Here is the live website: http://nicki.smartbrandidentity.com/
Any help is greatly appreciated.
If I were you, I'd just use the 16 column layout. Use the column2 when you would use a column1. These grids are designed to give you as many options as can fit in a grid, and you shouldn't limit yourself to only 8.
Also, looking at the css, this does not look like a "responsive" grid. All of the columns are set in pixels. If you want a really easy grid that is actually responsive, check out the columnal grid system. http://www.columnal.com/

Row Labels for SlickGrid

Is there a way to add row labels to slick grid?
I guess worst case, I could make a static first column but I was thinking there might be something built-in?
Basically what you need is just a column which you can style and format as you wish with your label content, but the functionality that is currently missing from SlickGrid is support for fixed/frozen columns. There are some forks that have attempted to implement it, but the implementation is incomplete.

Resources