Hello,
Unfortunately at the moment we do not have such option. I have added it at our todo list.
Kind Regards,
Will
Guriddo Support Team
Hello,
Please, create a demo and send it to support at guriddo.net. Possibly include all your JavaScript libs used
Kind Regards,
Will
Guriddo Support Team
Hello,
I really want to help, but you should understand that with this piece of information for us us very difficult.
1 we do not know the jqGrid version
2 we do not know the version of select2 plugin
3. for us will be a very difficult to prepare exactly your example – maybe it will happen, but it will take 1-2 days.
We will try to configure the demo from the stackoverflow in order to understand what is rerally happen.
Not sure, but maybe in this case you will need to use a custom_element and custom_value to build select2 behaviour.
We really appreciate a demo for this purpose.
If you prepare a demo, do not forget to use the source jqGrid code and not the minified.
Kind Regards,
Will
Guriddo Support Team
Hello Kris,
Glad to hear that it work as expected.
Kind Regards
Will
Guriddo Support Team
Hello,
Sorry that I do not understand what you mean.
Yes this is possible.
I have updated the demo so that the grid and excel export are in sync. Here is the link again
Please note some parameters like: formatter, align, unformatter and exportoptions.
We use here unformatter here if you want to use the some of editing modules.
Please let us know if something is not clear.
Kind Regards,
Will
Guriddo Support Team
Hello,
Sorry for delay. For some reason I miss your post.
Can you please share your code? The best will be if you prepare a live example.
Kind Regards,
Will
Guriddo Support Team
Hello,
Sorry for the inconvenience when posting. There was a small problem with the forum after the last upgrade. Hope it is ok now
Kind Regards,
Will
Guriddo Support Team
Hello,
You can read our docs, where we point to similar example.
Using this example put in your exportoptions the following:
|
1 2 3 4 5 6 7 8 9 10 |
{ label: 'Price', name: 'Price', width: 80, sorttype: 'number', formatter: 'currency', formatoptions : {prefix: '$'}, align: 'right', exportoptions : { excel_parsers: false, excel_format : "[$$-45C]* ###0.00_-;[$$-45C]* (###0.00_-)", replace_format : function(v) { return v.replace(/[^\d\.\-]/g, ''); }} }, |
Kind Regards
Will
Guriddo Support Team
Hello Kris,
Sorry for the inconvenience. I have forgot to put the last important change related to this new feature. Can you please download again from github and test. The date of build should be 6 April 2020.
Thank you.
Sorry again for this.
Kind Regards,
Will
Guriddo Support Team
Hello,
Sorry, can you please replace jquery.jqGrid.min.js with the source jquery.jqGrid.js, so that we can easy debug.
Thank you.
Kind Regards,
Will
Guriddo Support Team
Hello,
Can you please send us a example with demo data in order to investigate the problem?
Thank you
Kind Regards,
Will
Guriddo Support Team
Hello Kris,
We have added support for hyperlinks in excel export. The addition is in GitHub. You can grab the code and test. If you do so, please let us know if it working for you.
Actually you should not do anything- the grid automatically detects the link and make the needed to be added in export.
Kind Regards,
Will
Guriddo Support Team
Hello,
This is not a trivial task. Since we create a native excel document the links should be treated differently.
We will try to solve the problem in the next days. I will notify you when we are ready.
Kind Regards
Will
Guriddo Support Team
Hello,
In this case you will need to define your own common replaceStr function. The default replaces the html tags. The code can look like this\
|
1 2 3 4 5 6 7 8 9 |
$("#export").on("click", function(){ $("#jqGrid").jqGrid("exportToExcel",{ .... replaceStr : function(v) { return v; }, ... }); }); |
Kind Regards,
Will
Guriddo Support Team
Hello,
Sorry, I’m not sure that I understand the problem. Can you please explain it more detailed? Any example will be greatly appreciated.
Thank you
Kind Regards,
Will
Guriddo Support Team
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top