Forum

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

Search Forums:


 






jqGrid 3.5 alpha bug

UserPost

14:05
02/04/2009


simka

Member

posts 6

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'
     });


}

03:03
07/04/2009


tony

Sofia, Bulgaria

Moderator

posts 7043

Hello,

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

Regards

Tony

17:21
10/05/2009


dmlenz

New Member

posts 2

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:03
13/05/2009


tony

Sofia, Bulgaria

Moderator

posts 7043

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


About the jQuery Grid Plugin - jqGrid forum

Most Users Ever Online:

157


Currently Online:

92 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9661

Posts: 28948

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