Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






Expose sorttype as a parameter for the JqGridColumn

UserPost

18:10
20/09/2011


yasmaryh

Member

posts 6

I am using the jqgrid for ASP.NET WebForms solution. I would like to be able to specify the sorttype as a parameter in the ASPX file (just as I do the "Sortable" parameter). 

I am running into a problem where I need to specify some columns with specific sorttypes (i.e. date, int, etc). Currently everything is sorted as a string.

Looking over the current trirand source – I can see a simple way of adding this to the JqGridColumn and JSONColModel.


18:54
20/09/2011


edutibau

New Member

posts 1

We have been having this problem for a while too, and there seems to be no solution yet. Is it possible to get it included in a future version?

20:07
20/09/2011


ajmesa

New Member

posts 1

yasmaryh said:

I am using the jqgrid for ASP.NET WebForms solution. I would like to be able to specify the sorttype as a parameter in the ASPX file (just as I do the "Sortable" parameter). 

I am running into a problem where I need to specify some columns with specific sorttypes (i.e. date, int, etc). Currently everything is sorted as a string.

Looking over the current trirand source – I can see a simple way of adding this to the JqGridColumn and JSONColModel.



Yep, this would be great.

20:15
20/09/2011


jcutrono

Ultimate Software

New Member

posts 2

This seems like something simple.  I hope it gets implemented soon.  I would also scrub the codebase to ensure that most of these attributes are exposed.

21:10
20/09/2011


yasmaryh

Member

posts 6

I would also like to point out some other parameters which would be very helpful to expose in the ASP.NET WebForms layer:

- searchoptions: sopt

     I noticed that SearchValues is exposed, but this only sets the default value of what is searched, not the filters. We definitely have usecases where we want to define different search filters per columns (such as dates, etc).


- formoptions

    This would be useful in exposing things like elmprefix where we can show an asterisk in the add dialog for required fields.

00:40
21/09/2011


brian_goldberg

New Member

posts 1

This would be great if this was added to the next release…..

16:57
21/09/2011


yasmaryh

Member

posts 6

Trirand asked me to post this in their forum. New link: http://www.trirand.net/forum/d…..;#post6269


About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

32 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9661

Posts: 28950

Membership:

There are 10357 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1167

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (7043 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information