Showing posts with label jQGrid. Show all posts
Showing posts with label jQGrid. Show all posts

Thursday, June 18, 2009

jQgrid with Add and Edit

On heavy demand, i have uploaded a simple add, edit enabled jQgrid. You can download it from here, any queries do leave a comment.

Friday, March 6, 2009

Mission jQGrid is Complete!

So at last everything is complete with jQgrid. Along with busy delivery pipeline i managed to clear all the remaining hurdles and now Grid talks to WCF Services, passes JSON Stream has following features.

-- Multi select (Check box)
-- Master details
-- Grid as sub-grid
-- Add/Edit row
-- UI Date picker
-- Searching data
-- Inline Editing
-- Controlling server errors
-- Multiple toolbar search
-- Search Big Sets

Right now the REST services are talking to our local wcf services. Will make a demo thing and post soon. This surely helped me a lot, jQGrid Help.

Monday, February 23, 2009

Basic jQGrid Implementation with WCF Service

I have made a very generic and simple working model of jQgrid with wcf service. You can download it from here.

I am working for a complete working model. Will upload it once its done.

Thursday, February 19, 2009

Paging for jqGrid for WCF implementation!!!

Past 1.5 months had been too hectic for me. Some of them were due to major happenings in personal life. Will step into married life in early april. At workplace was too consumed in regular releases of product. 

At last the paging issue for jqGrid was solved. Last night i cracked the paging details were embedded  in Message Header... and today i parsed and basic grid is comepleted... I need to post the solution now. Will do it by tomorrow. Have started working on fully functional POC. Might take a week. :)

Tuesday, January 13, 2009

JqGrid with WCF REST Service

We have WCF services implemented for thick and thin clients. But as the dynamicity increased we started to wrap those services around REST based WCF Services majorly for Web Client. Now am slowly getting rid of any ASP.Net code written at client. I know its pretty mean of me, but I don’t feel the sense to do it.

I am waiting for ASP.Net MVC to be integrated nicely in VS and then probably think of something in ASP.Net. There might be a situation where in we have client totally independent of any web technology :) That will be powerful for sure. Future is WCF Services and client rich applications that how I look at it. 

I started to implement my Services with jqGrid yesterday and could complete the services part and Client Grid in hours but it took time to integrate it all and see my data rendering in Grid. I won’t blame on poor documentation of jqGrid but yeah it took 6-7 hours for me to implement the same. I can't whine now cuz its working and working fine now. I found no place where this combo was even attempted. So wanted to contribute for the community as well...

I will upload the whole solution after some cosmetic improvements. If someone needs any help, post comments.

Script Code -------------------------------


HTML-------------------------------------------------------

    


    


REST Service -----------------------------------------------

 [ServiceContract(Name = "CandidateService", Namespace = "JsonCandidateService")]  

    public interface IJSONCandidateService

    {

        [OperationContract]

        [WebInvoke(Method = "GET",

                 ResponseFormat = WebMessageFormat.Json,

                 BodyStyle = WebMessageBodyStyle.Bare,

               UriTemplate = "Candidates/{criteria}"

        )]

        JQGridCandidatesResponse GetAllCandidates(string criteria);

    }

Thats it for now, shall upoad the full solution soon. Happy jQuerying :)