Deprecated: iconv_set_encoding(): Use of iconv.internal_encoding is deprecated in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/string/string.php on line 28

Deprecated: iconv_set_encoding(): Use of iconv.input_encoding is deprecated in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/string/string.php on line 29

Deprecated: iconv_set_encoding(): Use of iconv.output_encoding is deprecated in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/string/string.php on line 30

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
Java JSON Serializer for jqGrid

Deprecated: Non-static method PhocaGalleryPath::getPath() should not be called statically, assuming $this from incompatible context in /home/datamerx/public_html2/codemerx/jqgrid/plugins/content/phocagallery/phocagallery.php on line 57

Deprecated: Non-static method PhocaGalleryPath::getInstance() should not be called statically, assuming $this from incompatible context in /home/datamerx/public_html2/codemerx/jqgrid/administrator/components/com_phocagallery/libraries/phocagallery/path/path.php on line 36

Deprecated: Non-static method PhocaGalleryLibrary::getLibrary() should not be called statically, assuming $this from incompatible context in /home/datamerx/public_html2/codemerx/jqgrid/plugins/content/phocagallery/phocagallery.php on line 64

Deprecated: Non-static method PhocaGalleryLibrary::getInstance() should not be called statically, assuming $this from incompatible context in /home/datamerx/public_html2/codemerx/jqgrid/administrator/components/com_phocagallery/libraries/phocagallery/library/library.php on line 44

Deprecated: Non-static method PhocaGalleryPath::getPath() should not be called statically, assuming $this from incompatible context in /home/datamerx/public_html2/codemerx/jqgrid/plugins/content/phocagalleryslideshow/phocagalleryslideshow.php on line 40

Deprecated: Non-static method PhocaGalleryPath::getInstance() should not be called statically, assuming $this from incompatible context in /home/datamerx/public_html2/codemerx/jqgrid/administrator/components/com_phocagallery/libraries/phocagallery/path/path.php on line 36

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652

Java JSON Serializer for jqGrid

                                 Download (Registration Required)

 

Oftentimes jqGrid is used in Java web app. Sometimes it is also the case that a Java based web service provides data for jqGrid.

jqGrid reads JSON data the faster than data in any other format. JSON is not native to the Java world, though.

Codemerx Java JSON Serializer for jqGrid steps in to bridge that gap. It makes use of the well known flexjson library. It comes as source code that could easily be integrated in your solution. Also, it is free and it comes under the MIT License that provides maximum flexibility of use.

 

                                 Download (Registration Required)

 

 


Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
Posted: 3 years 1 month ago by Ram #389

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
Ram's Avatar
how to bind function while column header clicking in jqgrid
Posted: 2 years 7 months ago by ChennaiCreator #520

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
ChennaiCreator's Avatar
This is the simple Java part I got from JqGrid With JAVA
Simple to download and use, importantly no registration required.

protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
System.out.print("Inside Json Constrution method");
String employeeDetails = "{\n \"page\": \"1\",\n \"total\": 1,\n \"records\": \"12\",\n \"rows\": [\n {\n \"id\": \"1\",\n \"cell\": [\n \"Ramu\",\n \"22\",\n \"Single\",\n \"4000$\",\n \"2\",\n \"Sincere Worker\"\n ]\n },\n {\n \"id\": \"3\",\n \"cell\": [\n \"Aparna\",\n \"23\",\n \"Married\",\n \"8000$\",\n \"3\",\n \"Full time worker\"\n ]\n },\n {\n \"id\": \"2\",\n \"cell\": [\n \"Mathu\",\n \"34\",\n \"Married\",\n \"2000$\",\n \"4\",\n \"Part time worker\"\n ]\n },\n {\n \"id\": \"4\",\n \"cell\": [\n \"Kevin\",\n \"28\",\n \"Single\",\n \"8000$\",\n \"6\",\n \"Mobile Developer\"\n ]\n },\n {\n \"id\": \"6\",\n \"cell\": [\n \"Peter\",\n \"34\",\n \"Single\",\n \"3400$\",\n \"1\",\n \"New Employee\"\n ]\n },\n {\n \"id\": \"5\",\n \"cell\": [\n \"Nambivel\",\n \"28\",\n \"Married\",\n \"2000$\",\n \"3\",\n \"Web application developer\"\n ]\n },\n {\n \"id\": \"7\",\n \"cell\": [\n \"Murugan\",\n \"32\",\n \"Married\",\n \"12000$\",\n \"12\",\n \"Senior Developer\"\n ]\n },\n {\n \"id\": \"11\",\n \"cell\": [\n \"Vetha\",\n \"22\",\n \"Single\",\n \"6000$\",\n \"12\",\n \"Architect\"\n ]\n },\n {\n \"id\": \"9\",\n \"cell\": [\n \"Uma\",\n \"19\",\n \"Married\",\n \"3000$\",\n \"4\",\n \"Front End Developer\"\n ]\n },\n {\n \"id\": \"10\",\n \"cell\": [\n \"Kirthika\",\n \"18\",\n \"Single\",\n \"1000$\",\n \"0\",\n \"New Joinee\"\n ]\n },\n {\n \"id\": \"9\",\n \"cell\": [\n \"Amarendra\",\n \"29\",\n \"Married\",\n \"2000$\",\n \"4\",\n \"Java developer\"\n ]\n },\n {\n \"id\": \"8\",\n \"cell\": [\n \"Idursh\",\n \"25\",\n \"Single\",\n \"2000$\",\n \"9\",\n \"Senior Java developer\"\n ]\n }\n ]\n}";
response.setContentType("application/json");
PrintWriter out = response.getWriter();
out.print(employeeDetails);
out.flush();
}
Posted: 2 years 4 months ago
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
by Anonymous
#609

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
Anonymous's Avatar
Hello ,

I am new learner of jqgrid so i have query that is the below :

how to get the value from column name from database ?
suppose
colModel:[{name:'firstName' index:'firstName' width:250}],

then what is code for getting value at firstName column ?