Hello,
Sorry forgot to mention that the padding can be controlled from the developer and you can make it equal.
The default left and right padding in Bootstrap standard table is 12px or 0.75.em.
In our grid we do this.
|
1 2 3 4 5 6 |
.ui-jqgrid .ui-jqgrid-btable tbody tr.jqgrow td { overflow: hidden; white-space: pre; padding-right: 2px; } |
If you wish to equal the booth padding you can
|
1 2 3 4 |
.ui-jqgrid .ui-jqgrid-btable tbody tr.jqgrow td { padding-left: 2px; } |
after loading the grid css, but for this purpose you will need to use the latest from GitHub where we fix some layout problems
Thank you for recommendations – I will take these in account for our future release.
Kind Regards,
Will
Guriddo Support Team
Hello,
1 . This should be discussed. Suppose your column name is relative long, but you have small data in cell – what will be in this case? Not sure that this will be implemented.
2. Sure the calculation is based on the text and not on the padding of the html element within the cell. The procedure of calculating such thing is really heavy and suppose you have 2-3k rows – this will be incredible slow. We use the quick way. It really is a compromise, but our primary goal is speed.
3. As I say this should be discussed.
Guriddo Support Team
Hello,
We have fixed the problem with autosize in GitHub. Also the Italian translation is updated too – Thanks.
About your last note for the subgrid, we will see what can we do.
Thank you.
Kind Regards,
Will
Guriddo Support Team
Hello,
1 Some time I forgot to test in all browsers. It is fixed now in both browsers.
2. I think you mix grid width with summary column width. In your example you have 3 columns which summary width of the column is little than the entire grid box width. This is the reason that your subgrid look like this. If your entrie grid box width is equal or smaller that the summary column width you will see the correct subgrid. Witrh other words subgrid take care of the grid box width. If you remove the altRows option you will not see the subgrid divided in two colors.
3. In your example the autosize does not work since the width of the data is about 7 pixel. The minimal column width is se with grid option. I can not remember the value of it.
7. I was able to reproduce your problem in Bootstrap setting a bigger number in the data. Will see how to fix it. Will
8. Thank you for the translation. I will publish it with the autosize fix.
Kind Regards,
Will
Guriddo Support Team
Hello,
1. The problem is fixed in github (See the demo)
2. I can not understand. The subgrid exceed the columns of the grid and not the visible columns. In case the grid width is smaller or equal to the visible columns you will see the correct scrolling.
3. There is no option autowidth on column. This option is applicable on the grid. When set to the subgrid it work correct. See the demo.
4. The click event is not atached correct when a formatter is used. To resolve the problem You should attach the click event in gridComplete event or use onclick property when define a button. See the demo.
5. Frozen columns does not work when subgrid is on See the limitations here
We have fixed theis problem disabling the freeze item when subgrid, treegrid or celledit are on.
6. The behavior is performed from the responsive option, which is set globally on all grids. As you know we devide the pager on 3 equal parts. In your case there is no room for all the pager buttons and other parts of the pager. (This is new behaviour from version 5.4). in order to solve the problem we have added new grid option forcePgButtons which creates the buttons instead of the above conditions – see the demo.
7. We can not reproduce. Can you please prepare a demo and send it to us. Maybe using rem untit as described below will solve the problem.
Important note. At end we highly recommend you to use rem for the font size instead of em. When using the second one every subgrid is created with reduced fontsize. The differences about using rem or em is described here
The non problematic setting is:
|
1 2 3 |
.ui-jqgrid { font-size:0.8rem } |
Kind Regards,
Will
Guriddo Support Team
Hello lorife,
Thank you for the problems described and demo. I will replay ASAP today.
Kind Regards,
WIll
Guriddo Support Team
Hello Meenakshi,
Thank you for the detailed descriptions. We will see these and will contact you in case if there is some misunderstandings.
Kind Regards,
Will
Guriddo Support Team
Hello,
One possible solution is to use custom formatter in case of export to excel for that field in colModel using the options isExported and exporttype like this:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
colModel : [ ... { name : 'field1', ..., formatter : function( cellvalue, options, rawData) { if (options.isExported && options.exporttype === 'excel') { return stripped_cellvalue; // here strip the value } else { return cellvalue; } }, ... } ... ] |
Kind Regards,
Will
Guriddo Support Team
Hello,
Guriddo jqGrid JS and Guriddo Suito PHP are not free. They are commercial.
Kind Regards,
Will
Guriddo Support Team
Hello,
Just make quick test with Narrator and it seem that is working.
To work with Narrator, please start Narrator as described in Microsoft help and then open this demo page
The important part here is that you must first start the narrator and then open the page.
If you have any problems please let us know.
Kind Regards,
Will
Guriddo Support Team
Hello,
Sorry for this inconvenience.
Please re – download the package from our downloads page again. Just in case clear the browser cache before downloading the trial again.
Kind Regards,
Will
Guriddo Support Team
Hello,
First of all sorry that I forgot to post here the new update. Yes we have a great progress on this withh the 5.4 version released.
More on this you can read here
On the same page there is a link to the demo. Also the documentation is here
If you have any questions, please let us know.
Kind Regards,
Will
Guriddo Support Team
Hello,
One possible solution is to use custom add and check if row with this key exists. the code can look something like this:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
.... // When a add is performed if($grid->oper == 'add') $data = jqGridUtils::Strip($_POST); // Check here if the row with certain key exists // with your custom SQL if( row_does_not_exists) // use insert data $ret = $grid->insert( $data ); if($ret) { // success // do something } else { // do something } // disable automatic add $grid->add = false; } else { // use update $ret = $grid->update( $data ); if($ret) { // success // do something } else { // do something } // disable automatic add $grid->edit = false; } } |
Kind Regards,
Will
Guriddo Support Team
Hello Markus,
Thank you very much for the recommendation. We think that this is very interesting. We will discuss this and contact you for future detailed explanations.
Unfortunately it will be not possible to prepare your recommendation in the upcoming release, which is scheduled for the end of next week.
Thank you very much again.
Kind Regards,
Will
Guriddo Support Team
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top