The problem is with Oct icons – due to his nature the icon in subgrid is not centered. If we center the plus icon the minus icon will not be centered and vice verso. We have do a partial fix for Octicons only.
Guriddo Support Team
Hello,
As I say the iframe in jsfiddle causes a lot of problems. Please check this example with the latest build
Regards,
Will
Guriddo Support Team
Hello,
We have fixed the subgrid problems (hope the most of them) . You can check the fixes. Some problems my occur when testing in iframe like this in jsfiddle, so please if possible test without iframe for now.
Please let us know if something is not correct.
Kind Regards,
Will
Guriddo Support Team
Hello,
We work on this. Thank you again.
Kind Regards,
WIll
Guriddo Support Team
The latest fix shouild contain
|
1 2 3 4 5 |
.ui-jqgrid .ui-jqgrid-title { /*padding-top: .475rem; */ vertical-align: middle; line-height: 28px; } |
but it does not contain currently this in your demo.
Guriddo Support Team
Hello,
It is centered – we checked this. The problem is that the grid css file is cached and it is not updated with the latest fix. Either wait for moment or better install a local copy from GitHub and test it locally. It should work.
Kind Regards,
Will
Guriddo Support Team
Hello,
As for resizing it is very strange – Using font awesom Javascript all.js block resizing. Using the css file only https://use.fontawesome.com/releases/v5.0.7/css/all.css make the resizing correct. All other things are fixed in GitHub.
P.S. We will investigate this problem.
Thanks again.
Will
Guriddo Support Team
Hello,
The method $.jgrid.SaveState save all the grid parameters to the local
storage and it is not possible to store only certain parameters with
it.
In order to achieve what you want you will need to to get the
parameters of the grid manually store them manually and use it in a way
you want again with the custom code.
In order to get all the parameters of the grid you can use getGridParam
method without parameters. See docs.
http://www.guriddo.net/documentation/guriddo/javascript/
|
1 2 3 |
... var params = $("#grid").jqGrid('getGridParam'); .. |
params is a object containing all the parameters and you can get the
desired one like this
page = params.page;
sortingname = params.sortname;
and etc.
These parameters you can store with your own custom code to local
storage and get them back with custom code and construct the grid.
Kind Regards,
Will
Guriddo Support Team
Hello,
We are glad to help.
Kind Regards,
Will
Guriddo Support Team
Hello Kris,
We have finished our fixes. If you want you can use the version from GitHub. We plan to publish a bug fix release between 5-9 March.
Kind Regards,
Will
Guriddo Support Team
Hello,
We are at end of fixing Bootstrap 4. We have added font Awesome support. All the cahnges are in Git Hub whch can be tested.
The auto column re-sizing is scheduled for the 5.3.2 release.
Please let us know if everything is working as expected.
Thank you again for your help .
Kind Regards,
Will
Guriddo Support Team
Hello,
Yes this is possible using the method setButtonOptions. More on this method can be found here
Example (using bootstrap 4):
|
1 2 3 4 5 6 |
$grid->setButtonOptions('excel', array( "buttonicon"=>"octicon-file", "caption"=>"Excel", "title"=>"Export current set to Excel" )); |
Kind Regards,
Will
Guriddo Support Team
Hello,
1 I see this. Thanks. Will be fixed.
2. You can adjust the padding (this happen since cell has padding and button too) using the cellattr event.
The below code works for us
|
1 2 3 4 5 6 7 8 9 |
{ name: "but", index: "but", width:100, align:'center', cellattr : function() { return ' style="padding: 5px 0 0 0;"'; } } |
The above code works for us
Kind Regards,
Will
Guriddo Support Team
Hello,
1 We can’t understand this. In your demo the header id and name is centered vertically – we check this since the padding top and bottom are equal. We can not reproduce this.
2. Will be fixed for the upcoming release
3. The problem is that you do not add enoght space for your button. The padding make this happen. Just set the width of the column >=80 and you will have a well centered button. One more note regarding this: the way you add the button is not recommended- the better and preferred way to do this is to use formatters.
4. This will be scheduled not for the upcoming release, but for the 5.3.2 or 5.4 release.
5. We know about this it will be fixed for the next release.
Thanks again for the notes and problems found
Kind Regards,
Will
Guriddo Support Team
Hello,
The planed release is scheduled for 5-9 March, 2018
Kind Regards,
Will
Guriddo Support Team
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top