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
2 Problems with Validation Dialogs
23/12/2009
18:16
Avatar
alche
Member
Members
Forum Posts: 12
Member Since:
28/04/2008
sp_UserOfflineSmall Offline

1. For Inline Editing, the Validation Dialog always appears at the top of the Grid.  This is fine when the grid is small and fits in 1 screen.  But when the grid is longer, and the user has scrolled down the page to do an inline edit, the Validation Dialog appears to be offscreen.

If a user is in row 100 and triggers a Validation failure, the user cannot see the Validation dialog unless he scrolls to the top of the screen.  The user hits the [Enter] trying to save the record, but nothing happens.

2. The Validation Fail dialog is not modal.  This is nice because the user can correct the problem without clicking on the dialog.  However, the dialog does not disappear by itself when Validation passes.

23/12/2009
20:12
Avatar
alche
Member
Members
Forum Posts: 12
Member Since:
28/04/2008
sp_UserOfflineSmall Offline

I should note:  this us when using the jQuery UI for dialogs.  I  am not using the jqModal.

26/12/2009
11:29
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Which version of jqGrid do you use? From long time we do not support UI dialog.

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.

26/12/2009
17:21
Avatar
alche
Member
Members
Forum Posts: 12
Member Since:
28/04/2008
sp_UserOfflineSmall Offline

Hi Tony.  I'm using 3.6.2.  I didn't realize you weren't supporting UI's dialogs.  Do you find using jqModal's dialogs are more reliable/stable?  I can redownload jqGrid with jqModal if you think it works better.

28/12/2009
14:37
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks

Also fixed when jqModal is used. Now the dialog appear at the row -  i.e I calculate the position of the edited row and the dialog appear at this position. Also have done other minor usefull changes.

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.

05/01/2010
18:21
Avatar
alche
Member
Members
Forum Posts: 12
Member Since:
28/04/2008
sp_UserOfflineSmall Offline

Hi Tony.

I downloaded the fix from gitHub and your changes work great for validation errors. Thank you!

However, the same problem occurs when the user clicks the Delete Button on the Pager.  If the user is at the bottom of a long grid ( for example, if user is showing 100 rows, and selects row 99 ),  the Delete Warning dialog still appears at the top of the grid.  This forces the user to scroll to the top to click OK or Cancel.  (If the user is not too smart, they don't even know to scroll to the top of the grid).

Can you implement the same fix for Dialogs that appear when users click on buttons in the Pager?  The same problem would occur if the user clicks a custom delete button with that triggers the delGridRow method. 

Ideally, dialogs should appear in the middle of the window, no matter where the selected record is, or where the top of the grid is located in the DOM.

06/01/2010
08:37
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

This is little difficult to do, but will see what can be done. For the delete dialog this can be done with little effort, but for add and edit it is not so easy.

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.

06/01/2010
15:03
Avatar
alche
Member
Members
Forum Posts: 12
Member Since:
28/04/2008
sp_UserOfflineSmall Offline

Hi Tony,

I think the fix for Delete Dialogs is most important. 

Add Dialogs acquire focus when they are launched.  So the fact that they are at the top of the grid is a minor problem.  I don't use Edit Dialogs, so I don't know for sure, but I would guess that they acquire focus when launched, just like Add Dialogs.  So in these cases the user clicks a button and is taken to the right location without having to scroll up and down the grid.

If the Delete Dialog fix is easy, then please go for it. Laugh

02/02/2011
00:48
Avatar
Shift4SMS
Las Vegas, NV
Member
Members
Forum Posts: 15
Member Since:
03/12/2010
sp_UserOfflineSmall Offline

Did this ever get fixed -- for the delete dialog?

I started a thread in the help forum on this same issue and now I found this thread. Embarassed

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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