Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Integration of jquery Live Validation plugins on inline Editing
05/03/2010
17:19
Avatar
Sk
Chile
Member
Members
Forum Posts: 4
Member Since:
05/03/2010
sp_UserOfflineSmall Offline

Hi Tony and jqgrid community.
First I apologize for my english, i spoke spanish.
I spent my time searching looking for validations plugins and i found 2 that i really liked,
I try them both together, and works ok.

Inline Form Validation Engine 1.6.3 jQuery plugin by Cedric Dugas
Live Validation 2.0 jQuery plugin by Andreas Lagerkvist

I want to integrate to inline editing, however i fails, the plugin by Cedric requires for each input

input id="firstname" class="validate[optional,custom[onlyLetter],length[0,100]] text-input" name="firstname" type="text"

And the Andreas's plugin require the exact name for the input, but the names of the input jqgrid's generate have a rowid_nameofcolmodel formatt

Now the question how i manipulate jqgrid to adapt the input creation with class requiriments for the Inline Form Validation Engine plugin? , and ways to obtain a functionally Live Validation plugin whit those images.. 

This could be maybe a feature request too, I think this would make of jqgrid the best data manipulation tool online.

I hope any ideas, thanks.

Regards
Sk.

Attached File, the both Plugins in One Demo

09/03/2010
19:19
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

For the first plugin it is easy, for the second I can not help.

So the solution

define in editoptions the class attribute which will be added when the element is created, something like this

colModel : [

...

{name:'myname',... editoptions : {class:"validate[optional,custom[onlyLetter],length[0,100]] text-input",...}...},

...

]

Best Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

11/03/2010
21:16
Avatar
Sk
Chile
Member
Members
Forum Posts: 4
Member Since:
05/03/2010
sp_UserOfflineSmall Offline

It's Works, Thanks !

Regards
Sk

03/05/2011
12:37
Avatar
Geo
Cochin
New Member
Members
Forum Posts: 1
Member Since:
03/05/2011
sp_UserOfflineSmall Offline

Hello Tony 

I am trying to some inline data editing on the jqGrid

For my requirement I need more than custom jqGrid Validation.That means display all required fields while clicking on the save button

I try to plugin the above inlineInline Form Validation Engine 1.6.3 jQuery plugin by Cedric Dugas .But I am Unable to find the jqGrid form id while i perform the inline Editing 

thanks for your help

Geo Cool

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
52 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information