Posts

Showing posts with the label jqGrid

Donate

How To Wrap Text Inside A JqGrid Cell

Image
When showing records from a datasource, you may wonder why a certain JqGrid cell does not wrap the entire text into it's cell. An example would be a lengthy description, notes or remarks, and address. After doing some research, the fix is to add a cellattr to the grid's cell and set it's white space property to normal. JqGrid Address Cell without cellattr property 1 { name: 'Address' , index: 'Address' , width: 200, align: 'left' } JqGrid Address Cell with cellattr property 1 2 3 { name: 'Address' , index: 'Address' , width: 200, align: 'left' , cellattr: function (rowId, tv, rawObject, cm, rdata) { return 'style="white-space: normal;"' }},

How To Integrate JqGrid In ASP.NET MVC 5

Image
Hi, Here's a simple demo using jqGrid in ASP.NET MVC 5 Visual Basic.NET. The detailed instructions are elaborated in VBForums ASP.NET Codebank. The NuGet packages needed are: 1. Dynamic LINQ Library 2. jqGrid 4.6.0 Sample Screenshot: Setup and Source Code: Using jqGrid with ASP NET-MVC 5 Visual Basic.NET

Donate