jQWidgets Forums

jQuery UI Widgets Forums Grid showvalidationpopup

This topic contains 7 replies, has 3 voices, and was last updated by  Peter Stoev 10 years, 4 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • showvalidationpopup #15483

    goooseman
    Participant

    Hi all!

    I am using a grid with paging enabled (25 per page).
    Also, some columns are editable with validation on the side.

    My problem is, when you’re on the first page and edited a cell with an invalid value,
    the popup is displaying correctly (under the cell you’re trying to edit). But when
    you hit next, and edit a cell with invalid value, the popup is always displayed under the cell on
    the first row and column and im getting this error:

    Uncaught TypeError: Cannot read property ‘visualrow’ of undefined

    Thanks in advance for your replies!

    Regards,

    goooseman

    showvalidationpopup #15508

    Peter Stoev
    Keymaster

    Hi goooseman,

    Thank you for the feedback. We will investigate the reported behavior and if we reproduce it, we will create a work item about it.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    showvalidationpopup #16317

    goooseman
    Participant

    Hi Peter S.,

    Any updates on this issue?

    Also,
    I have an editable column with columntype ‘datatimeinput’, in other browsers (FF, Chrome and IE9), when i double click a cell from that column, it changes to a textfield with a calendar icon which is correct. But in IE8, its giving me an error about the jqxscrollbar.js.

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; MDDSJS)
    Timestamp: Mon, 4 Mar 2013 19:16:24 UTC

    Message: Invalid argument.
    Line: 7
    Char: 22743
    Code: 0
    URI: http://localhost/javascript/jqwidgets/2.7.0/jqxscrollbar.js

    Regards,

    goooseman

    showvalidationpopup #16321

    Peter Stoev
    Keymaster

    Hi goooseman,

    We are unable to reproduce the reported behavior. Please, post a sample which demonstrates your scenario and reproduces the reported behavior.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    showvalidationpopup #16324

    goooseman
    Participant

    Hi Peter S,

    I figured out the error regarding the scrollbar in IE8, because its trying to set the style width of the div by a negative value.
    I checked other browsers, it is still negative but I think they just ignored it and use 0.

    jqxscrollbar.js Line 923 (unminified version)

    n[0].style.width = k + “px”; // value of k is -4

    If i change that line to:

    n[0].style.width = Math.max(k, 0) + “px”;

    its working properly.

    Any thoughts?

    Regards,

    goooseman

    showvalidationpopup #16325

    Peter Stoev
    Keymaster

    Hi goooseman,

    As I already written in the previous post: Please, post a sample which demonstrates your scenario and reproduces the reported behavior.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    showvalidationpopup #66788

    shanegarner
    Participant

    http://jsfiddle.net/shanegarner/w6sshvhg/1/

    This displays the same or similar behavior to what is described. Also, it appears that the validation tool tip is tied to the “visual row index”, meaning when you scroll down the tool tip moves to the next row down. The tool tip should be tied to the actual row index so you scroll and have the tool tip stick with the right row. To see this, change the row index for the validation to 5 (see below) and then scroll down on the grid.

    $(“#jqxgrid”).jqxGrid(‘showvalidationpopup’, 5, “firstname”, “Invalid Value”);

    showvalidationpopup #66821

    Peter Stoev
    Keymaster

    Hi shanegarner,

    Duplicate post: http://www.jqwidgets.com/community/topic/issue-with-showvalidationpopup-property-in-grid/. Avoid posting about the same thing more than once, please!

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.