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
Missing cell border in FF and IE when adding empty select cells
09/10/2009
12:42
Avatar
Pete
Member
Members
Forum Posts: 100
Member Since:
01/09/2008
sp_UserOfflineSmall Offline

I checked and double checked my code and I can't seem to find any other reason this occurs.  So I am guessing it is a bug.  This appears to be similar to one that was fixed in 3.2.2:

"fixed addRowData method: when adding a empty value, IE was not correctly displaying the border of the cell"

When I add an empty row to my grid that has several (6) select type cells I don't see the complete cells.  Some have no borders and some have incomplete borders.  I add the row using code like this:

var rc = $(gridName).addRowData(rowcount,{'':""},"last");

The row is added but the borders are missing or incomplete on the select cells in particular.  A regular text cell seems to render OK.

I see this in *both* Firefox (3.5.3) and Internet Explorer 8.  I am running version 3.5.3 (plus Git Hub patches)

Thanks,

Pete

14/10/2009
11:09
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Could you please provide a link to the problem or post the grid configuration again with adding the data. Do not forget to enclose this in code tag.

Thanks

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.

14/10/2009
19:01
Avatar
Pete
Member
Members
Forum Posts: 100
Member Since:
01/09/2008
sp_UserOfflineSmall Offline

I'll see if I can put a simple test case together.  Otherwise I'll temporarily depoy the application so you can see it.

15/10/2009
11:35
Avatar
Pete
Member
Members
Forum Posts: 100
Member Since:
01/09/2008
sp_UserOfflineSmall Offline

Tony,

I put up a static version here:

http://www.petesworkshop.com/j...../test2.htm

I hard coded the select content where in my "real" application it makes a roundtrip to the server but you can see the effect: Missing borders when you add a row.

You need to click on the locations tab first and then back to "Employee Time Cards" tab to render the grid.  Then click on the "Add" button and you should see the problem.

Thanks,

Pete

17/10/2009
03:41
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

I see this. The problem is in formatter:'select'. The value returned from formatter is empty string which causes the cells not to have borders. Also will see how to fix this.

Thanks

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.

19/10/2009
10:16
Avatar
Pete
Member
Members
Forum Posts: 100
Member Since:
01/09/2008
sp_UserOfflineSmall Offline

Thanks Tony!  I know you have been very busy !  I appreciate you looking into it.

Pete

20/10/2009
02:26
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello Pete,

It is fixed. Thanks.

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.

20/10/2009
10:04
Avatar
Pete
Member
Members
Forum Posts: 100
Member Since:
01/09/2008
sp_UserOfflineSmall Offline

Thanks for that!  What branch was the fixed posted to ? (I assume the fix is in GitHub)

Pete

21/10/2009
02:38
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

The 3.6 branch

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.

24/10/2009
16:13
Avatar
Pete
Member
Members
Forum Posts: 100
Member Since:
01/09/2008
sp_UserOfflineSmall Offline

Tony.  Thanks.  That is fixed!

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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