Hello,
Look t my answer here: http://guriddo.net/?topic=using-chosen-plugin-with-select-elements-in-addedit-form/#post-126261
Kind Regards,
First of all thank you for finding this problem and supply a fix for it – much appreciated.
The only that stopped me to apply a fix is that the exported file is read correct in Linux Office Packages – like LibreOffice and OpenOffice, but despite this fact, I have made the fix suggested from you, since the most users using excel files origin from Microsoft Excel.
I have refine your fix, since in case when the user use a custom formatter which return number the logic does not accept it. This can be easy seen if you replace in your code:
1 2 |
var v = "4000000000000333"; ... |
with
1 2 |
var v = 4000000000000333; ... |
The fix is in GitHub and you can check it.
Thank you again.
Kind Regards,
Kris,
I think that at beginning of the next week you can do some tests.
Thank you for this.
Kind Regards,
Hello,
Use setTimeout within the dataInit and it will work, but there is a problem wit position and visibility (z-index).
Some possible resolution is here
If possible use another plugin like maybe select2.
Kind Regards,
Hello,
Which search is used – dialog search or toolbar search?
Kind Regards
Hello,
This is not a export problem, but rather Excel one. The maximum digits that can be accepted in excel is 15 after that everthing is rouned.
More on this problem you can found here
To solve the problem one possible solution is to set the number like the example
i.e as string as recommended in the most solutions.
Kind Regards
Hello,
Thank you for the detailed explanation. With this I can see that in this case there is a problem. We have plans to fix this within next days. Personally I will let you know about our solution.
Thank you for using our product.
Kind Regards,
P.S. By the way the form editor has two modes – text and visual – maybe you use the text mode where new lines does not appear. Switch to Visual mode (in upper right corner) in order to have new lines
Hello,
Thank you for the answer. I think the form editor is fine – maybe you copy paste some code from other forum editor, which causes the problem. Anyway this is a example code which works for us:
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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
$(document).ready(function () { $.jgrid.defaults.width = 780; $.jgrid.defaults.responsive = true; $.jgrid.defaults.styleUI = 'Bootstrap'; $.jgrid.styleUI.Bootstrap.base.rowTable = "table table-bordered table-striped"; $("#gridUsuario").jqGrid({ url: '@Url.Action("GetUsers", "Account", new { area = "Security" })', mtype: "GET", datatype: "json", colModel: [ { label: 'ID', name: 'ID', key: true, width: 70 }, { label: 'Vigente', name: 'UsuarioVigente', hidden: true }, { label: 'Nombre Completo', name: 'FullName', width: 200, edittype: 'text', editable: true, editrules: { required: true }, editoptions: { size: 50, maxlength: 100 }, formoptions: { elmprefix: '(*)' } }, { label: 'Login', name: 'UserName', width: 120, edittype: 'text', editable: true, editrules: { required: true }, editoptions: { size: 30, maxlength: 50 }, formoptions: { elmprefix: '(*)' } }, { label: 'Password', name: 'Password', width: 100, edittype: 'password', editable: true, hidden: true, editrules: { required: true, edithidden: true }, editoptions: { size: 30, maxlength: 50 }, formoptions: { elmprefix: '(*)' } }, { label: 'E-mail', name: 'Email', width: 240, edittype: 'text', editable: true, editrules: { required: true, email: true }, editoptions: { size: 50, maxlength: 100 }, formoptions: { elmprefix: '(*)' } }, { label: 'Teléfono', name: 'PhoneNumber', width: 120, edittype: 'text', editable: true, editoptions: { size: 30, maxlength: 50 } }, { label: 'Ciudad', name: 'Hometown', width: 150, edittype: 'text', editable: true, editoptions: { size: 30, maxlength: 50 } }, { label: 'Fecha Registro', name: 'UsuarioCreadoEn', width: 120, formatter: "date", formatoptions: { srcformat: "ISO8601Long", newformat: "d/m/Y H:i" } } ], viewrecords: true, shrinkToFit: false, autowidth: true, multiselect: true, rowNum: 20, rowList: [10, 20, 30], gridview: true, pager: "#gridPager", sortname: "FullName", sortorder: "asc", beforeRequest: function () { var $PANEL = $('#pnlGrid'), $FOOTER = $('footer'); // 125 = otros altos, como paddings y la fila de paginación $("#gridUsuario").jqGrid('setGridHeight', $FOOTER.offset().top - $PANEL.offset().top - 125); }, rowattr: function (rd) { if (!rd.UsuarioVigente) { return { "class": "no-vigente" }; } } }); |
Anyway I have answered your questions.
In principle it is a good idea to put real working example which demonstrates
the problem and point:
1. Which version of Guriddo is used?
2. Which version of jquery?
3. Which CSS framework is used?
4. in which browser is this happen?
5. Is this happen only on mobile device?
These base points are very important to solve the problem quick and professional.
In your code I do not see full test case and answers of the above 5 basic questions.
I apologize if this sound hard, but you should understand us that it is not possible to reproduce all user descriptions and problems described in a way you do.
I hope you undersatnd our point.
Kind Regards,
Hello,
I find this task very interesting and have prepared a demo.
The main idea is as follow:
– The grid initially is loaded with loadonce : true. This instruct grid to load all the data from the response, and display only the number of rows set in rowNum parameter and switch to local mode.
– in gridComplete event we check if we have data for update and if not we get the visible rowId and call the setInterval function which call ajax to get the fresh data from these ids.
– in setInterval function we use setRowData, since I suppose that not only one cell per row will be updated. In case there is only one cell for update, then s setCell method can be used.
– when the user do a pagging or sorting, before these actions we clear the interval function – i.e we disable update and , and clear the array with the current ids.
Here is the demo
Please let us know if this solves your prblem
Thank you.
Best Regards,
Hello,
Since this is the most asked requirement last two months, I have added detailed article in our knowledge base
Kind Regards,
Hello,
Thank you for reporting.
Currently Guriddo jqGrid JS support only desktop browsers instead of Bootstrap support.
You may want to use jqGrid Mobile for these devices.
For us is very difficult to find such problems and for this purpose – can you please send us a full example demonstrating the problem including jqGrid code, data, libraries used and css used – i.e full test case.
Thank you.
Kind Regards,
Tony
Hello,
Everything is in your code. When custom check is on – the custom function is executed and jqGrid does nothing more.
We do not have any message in our language file related to what you post.
This message comes maybe from other plugin.
I suggest you to simplify the code and see where is the problem (if this is a problem)
Kind Regards,
Tony
Hello,
I understand your point and agree with you.
Please write to the support in order to get the fixed update.
Kind Regards,
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top