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
attributes with dot
03/03/2011
05:04
Avatar
denoww
BR
Member
Members
Forum Posts: 10
Member Since:
03/03/2011
sp_UserOfflineSmall Offline

I'm building a plugin of jqgrid for Ruby on Rails, and i need one functionality comes back to jqgrid

In previous version of jqgrid (3.6) was possible use the character dot (.) in colmodels

Example: colModel:[ {name:'address.street',index:'address.street', width:75}]

In version 3.8 of jqgrid the code above list the information, but when i use the filtertoolbar it's raise an error in firebug and stop the search in datagrid

It's works in 3.6 but not now in 3.8

I need the dot between attributes to connect with models of rails. Today exists plugins for rails 2 for version 3.6 of jqgrid. But not exists any plugin for rails 3 and much less for jqgrid 3.8

Can you come back this propriety? i will build the best plugin for rails and provide this on github.

Thx very much

03/03/2011
12:25
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thank you very much for posting this, but the information provided is not enought.

When posting bugs you should:

1. Description of the problem

2. jqGrid and jQuery versions

3. entrie jqGrid Configuration

4. Data sample

5. In wich browser is this.

6. Do we have other plugins and etc

You meet the first and second one

If you do your way nobody will response or help

The best way is to send a link to the problem, including non minified version of jqGrid

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.

03/03/2011
13:43
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Hello denoww,

I supose that you use loadonce:true jqGrid option and have the same problem as descrobed here. As the workaround I recommend you to use

colModel:[ {name:'address',jsonmap:'address.street', width:75}]

(in case of usage of datatype:"json").

You can continue to have problem with the names of the sortname where you should continue to use the dotted name convesrion. It is also important to know whether you use data editing and which one.

Moreover you should verify that the problem come from jqGrid and not from the new version of jQuery which you probably also use.

I am agree with Tony: too many questions is unclear for me. You should always include full JavaScript and HTML code of the example which could be used to reproduce the described problem. Instead of posting some server code it is almost always enough to post only JSON or XML data which server return back to jqGrid. One could save the data in the text files and test all without the server. With respect of Fiddler of Firebug you can easy capture the data. Sometime could be important to post the information from the HTTP header of the server response. The line with Content-Type is the most important.

Best regards
Oleg

03/03/2011
17:19
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

03/03/2011
17:31
Avatar
denoww
BR
Member
Members
Forum Posts: 10
Member Since:
03/03/2011
sp_UserOfflineSmall Offline

Great Great.

I'll build the plugin and spread this with rails's community.

Now i'm builgin an ERP, and i need the best datagrid, i want contribute with coding and sugestion to jqgrid

Thanks very much.

08/04/2011
21:24
Avatar
machetico
New Member
Members
Forum Posts: 2
Member Since:
20/04/2010
sp_UserOfflineSmall Offline

Hi Denowww,

Great jo, I hope you finish soon, I am looking for that plugin. Let me know when you are done

Omar

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
38 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