showHeaderRow=true behaviour in Firefox/IE11 - slickgrid

I'm using 6pac slickgrid.
Setting showHeaderRow=true option makes the horizontal scroll on top of the grid
example in 6pac version.
Any idea about this ?
Behaviour is correct in the original repo :
mleibman repo
thx

Related

viewing sonarqube duplicate code

In sonarqube 5.6.4, how do I view the duplicate code blocks? In 4.5, there was a mostly hidden UI element under the duplication metric. Now it does nothing.
Since the issue is attached to a top of the file, how can I tell what I need to fix?
Duplications are marked by a yellow-orange bar in the left margin. Click it to see details:
It's pretty similar to how it was in 4.5.x actually. When scrolling through the sources, look for the orange marker on the left next to the line number. Clicking on it will give you details on where the duplication comes from ( screenshot ).

Issue when moving up down in a THorzScrollBox to scroll it's parent TVertScrollBox

I'm facing a problem with this 2 ScrollBox, one is TVertScrollBox which display whole screen and it have a THorzScrollBox in it, my problem is if i want to touch to the HorzScrollbox item and move up and down, my VertScrollBox have to scroll same as. Are there any ways to solve this issue? Thanks in advance
//Edit 1 : I'm using a gesture and ScrollBy(x,y) function to do with this issue. But it seem a bit laggy(not smooth) and still the HorzitonScrollBox scroll it own. A image for this(http://i.imgur.com/weOqW0R.gifv). Still watting another solution to do this
You can do it using UICollectionView as given in below example project.
http://damir.me/implementing-uicollectionview-layout
Source code link: http://bascarsija.s3.amazonaws.com/CollectionView.zip
After downloading this source code, In build settings change the value of the "Compiler for C/C++/Objective-C" to Default Compiler and run the app.
OK, I have found a simple answer.
When you have a THorzScrollBox inside of a TVertScrollBox, set THorzScrollBox.Touch.InteractiveGestures.Pan to False.

CKEditor - how to show current color *on* text color button?

Does CK Editor have the ability to show the current color on the Text Color button?
(The text edit area works fine/no problem - wondering specifically if the button itself can change to reflect the current color.)
Thanks!
No, CKEditor doesn't provide this feature.
Long ago I provided a patch to implement it, but currently that's totally outdated and it would need to be rewritten from scratch.

Jqgrid After setting width of column, and then try to click column separator causes the column resize back to the newWidth

Here i am having problem with grid column resize.
The actual functionality i want to achieve is that i want to reset the grid column widths to some default values on click of buttons.
I successfully changed the width of column using some code, but the problem is arise now.
The problem is after resetting the column widths (i.e. setting column width) and then when i Just click on column separator causes column width change to previously set width (i.e. newwidth).
I illustrate the problem by showing images.
Just consider the images in sequence as they shown.
1. Before resizing the column.
2. After resizing the column.
3. Now reset width to default width.
4. Now just click on separator. This will cause the column to be resized again to previous state before we reset. and also causes undesired behavior when dragging as you see in next pic.
5. Width increased and undesired behavior when dragging.
I tried many things. I also found this : jQuery grid plugin - triand
But unfortunately no solution provided in it.
By using that reference, i tried to setting newWidth to 0, -1, undefined and moreover i removed it from headers. but all the things not working.
I can't understand what is happening.
Please note that there is no chance that some undesired code in project resided somewhere else causes this behavior. For the test i tried using new version of jqgrid 4.5.1, but in that also happening the same.
Please someone provide me solution for this. I am tired as i am doing this thing from many days. I am very much thankful to the one who help me.
Thank You in Advance !
I am not sure how you implemented "reset width to default width", but I hope two things should help you.
First of all jqGrid have bug in resizing of columns which looks exactly like on the "Step 5" which you described. I posted the pull request which merged to the main code of jqGrid about one month ago. You can do the same changes (two lines need be change) you your copy of jquery.jqGrid.src.js (see here details of the changes).
To implement resetting of width of columns to default width you can use the following. First you can use widthOrg of elements of colModel. After resizing of any column the original value of width will be saved in widthOrg. To change the column width one can use setColWidth method which I suggested in the resent answer.
I hope you will able to solve you problem using widthOrg, setColWidth and the bug fix bescribed above.

CKEditor inline toolbar position

Simple question : how can I make the inline CKEditor toolbar float top right (or bottom right) of my editable element instead of the default top left position ?
Have been googling it but no luck so far :(
Thank you
It does not have a configuration option for this. There are only four options for the X,Y offset in pinned and docked modes - e.g. config.floatSpacePinnedOffsetY.
The only idea that I have is implementing your own plugin like Floating Space, or modifying the current implementation.
And as the last resort, you can use the Shared Space plugin to place the toolbar in a container chosen by you and then position it as you wish. Check the second demo (Inline Editor with Shared Toolbar and Bottom Bar) on the SDK sample page for an example.
we can do it with floatSpacePreferRight config
only we need to set
config.floatSpacePreferRight = true;
default value of floatSpacePreferRight is false;
so with this configuration, we can align inline toolbar position to right

Resources