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
jqGrid 3.5 alpha bug
02/04/2009
14:05
Avatar
simka
Member
Members
Forum Posts: 6
Member Since:
02/04/2009
sp_UserOfflineSmall Offline

When calling clearGridData on jqGrid with data and setted cells widths - data cleared with widths. After this when adding new data to jqGrid - all setted widths are reseted too.

How to fight this so clearGridData clears only grid content, not settings?

Width settings are:

   colModel:[     {name:'title',index:'title',width:300}, ….

After clearGridData - table header works just fine, as before calling clearGridData but data cells width - reseted.

in the same time if I using delRowData - all is ok. styling width data not reseted :(

$('#tableID').clearGridData();

   for (i=0; i<itemsCount;i++)

{

$('#tableID').addRowData(i+1, {
       id: someIdVar,
       …
       state: 'waiting'
     });

}

07/04/2009
03:03
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks. The problem appear to be in addRowData when you add row with possition diffrent to first. Will apply the fix.

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.

10/05/2009
17:21
Avatar
dmlenz
New Member
Members
Forum Posts: 2
Member Since:
27/02/2009
sp_UserOfflineSmall Offline

Was this corrected?

I'm having this exact issue with the newest version of the alpha.  Either that or a workaround when you need to drop and readd data to an existing grid.

Thanks!,
David

13/05/2009
13:03
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Helllo,

You can download the fix from GitHub. Also the problem refer in case when we have more than one grid. You can view the changes in the GitHub

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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