Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.5k views
in Technique[技术] by (71.8m points)

jquery - jqGrid - Free License

All, I was actively using jqGrid in the past few years, now I need it back to work on a requirement. Looks like the name has been changed to Gurrido JQGrid and seems to be a licensed version.

Could you please let me know if I no longer can use jqgrid for commercial purposes? At lease can I use the previous version of jqGrid? Please let me know..

Thanks!

Update : pasting the code snippet

<script type="text/javascript">
$(document).ready(function(){
$("#submitbutton1").click(function(){
 jQuery("#listTable").jqGrid({
    url:'/WebTest/MainAction.do',
   datatype: "json",
                colNames: ['Label','Value'],
                colModel: [
                    {name:'label',index:'label'},
                    {name:'value',index:'value'}
                ],
                autowidth : true,
                //iconSet: "fontAwesome",
                //showOneSortIcon: true,
                //autoResizing: { compact: true, widthOfVisiblePartOfSortIcon: 13 },
                //autoresizeOnLoad: true,
                rowNum: 10,
                rowList: [5, 10, 20, "10000:All"],
                viewrecords: true,
                pager: true,
                toppager: true,
                rownumbers: true,
                sortname: "label",
                sortorder: "desc",
                caption: "Test"
            }).jqGrid("navGrid", { view: true, cloneToTop: true})
            .jqGrid("inlineNav")
            .jqGrid("filterToolbar")
            .jqGrid("gridResize");
 })
})

</script>
<html >
<head>
  
<!-- <link rel="stylesheet"  type="text/css" media="screen" href="../font-awesome/css/font-awesome.min.css"> -->
<link rel="stylesheet" type="text/css" media="screen" href="../themes/ui-lightness/jquery-ui-1.10.4.custom.css" />
<link rel="stylesheet" type="text/css" media="screen" href="../css/ui.jqgrid.min.css" />
<!-- <link rel="stylesheet" type="text/css" media="screen" href="../css/searchFilter.css" /> -->
<!-- <link rel="stylesheet" type="text/css" media="screen" href="../css/ui.multiselect.css" /> -->
<script src="../js/jquery-1.11.1.min.js" type="text/javascript"></script>  
<script src="../js/jquery-ui-1.10.4.custom.min.js" type="text/javascript"></script>
<script src="../js/i18n/grid.locale-en.js" type="text/javascript"></script>
<script type="text/javascript">
$.jgrid.no_legacy_api = true;
$.jgrid.useJSON = true;
</script>
<script src="../js/jquery.jqgrid.min.js" type="text/javascript"></script> <!-- Version took from free jqgrid github -->
</head>
<title>Test</title>
<body bgcolor="white">
<br>
Hi this is the Test file
<input type="button" name="submitbutton1"  id="submitbutton1" value="Test">  
<br/>
<div id="outerDiv" style="margin:5px;">
        <table id="list"></table>
        <!--<div id="pager"></div>-->
</div>

// Tried this also, but its the same. Please note I have removed the iconSet as well.
<table id="listTable"></table>
<div id="pager"></div>
</body>
</html>
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

One can't change the license of previously published versions of jqGrid. So if you loaded once the code which have "Dual licensed under the MIT and GPL licenses" comment inside then you can use it under the licenses.

All versions of jqGrid till (inclusive) 4.7 can be used for free under MIT or GPLv2 licenses. You can download it from github (see the license statement here).

The version 4.7.1 published short time after publishing of 4.7 have new license. Starting with 4.7.1 it's better to use another name: "Guriddo jqGrid JS" for the product. You can read here more about the price and the conditions of Guriddo jqGrid JS.

MIT and GPLv2 licenses allows to modify the code holding the reference to the author of the previous version used as basis. So I started new fork of jqGrid based on jqGrid 4.7 under the name free jqGrid. One can download it from github here. The readme and the wiki provide additional information about new features which I implemented. I published the first release 4.8 of free jqGrid at 4 Mar 2015. I provided the version over NuGet, npm and bower additionally to the way to download the sources directly from GitHub. I posted the code additionally to different CDNs (see the wiki article) to simplify the usage.

I plan to publish very soon free jqGrid 4.9. I'll post the beta version in next days, but you can use the version from githib at any time. It includes always jquery.jqgrid.min.js, jquery.jqgrid.src.js and jquery.jqgrid.min.map generated from the current code.

So you can use free jqGrid for free like the name already says. I ask only to report the bugs as github issue or to post it on the stackoverflow. Please use both tabs "jqgrid" and "free-jqgrid" if you post the question about free jqGrid on the stackoverflow.

By the way the wiki is opened for writing. So if somebody want to improve the text of existing articles of to post new one then you are welcome!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...