Welcome Guest Search | Active Topics | Sign In | Register

new value not being returned to the cell after edit Options
Joan Darling
Posted: Thursday, August 4, 2016 5:00:55 PM
Rank: Advanced Member
Groups: Member

Joined: 3/9/2010
Posts: 119
This function was working when the grid was fullrowmode=true but after changing to fullrowmode=false it no longer returns the value to the cell. Any ideas whats going on?

Code: JavaScript
function grdDocWork_ddlclass_ClientSideEndEdit(cell) {
    try {
        var ddl = document.getElementById(idprefix + "dlgDocWork_ctl00_grdDocWork_edit_ctl02_ddlclass");
        var selectedText = ddl[ddl.selectedIndex].text;
        if (selectedText.indexOf("Select") == 0) {
            selectedText = "";
        }

        if (cell.getItem().getKey() != null) {
            cell.getItem().getCell(getMetaColIndex2(cell.getGrid(), "changed")).setValue(true);
        }

        return selectedText;
    } catch (err) {
        alert("ddlclass_ClientSideEndEdit - " + err);
    }
}
eo_support
Posted: Friday, August 5, 2016 4:46:37 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

We are not in a position to review your code. You can try to copy our sample code and see if it works for you. If that does not work for us please try to produce a full test page and post the test page. We will then try to run that and see what we can find.

Thanks!
Joan Darling
Posted: Monday, August 8, 2016 9:33:03 AM
Rank: Advanced Member
Groups: Member

Joined: 3/9/2010
Posts: 119
I didn't want you to review the code I wanted you to verify that weather fullrowmode is true or false when you return the dropdown list's selected text it should be displayed in the cell when the endedit function is no longer in scope?
eo_support
Posted: Monday, August 8, 2016 12:15:35 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

As far as I know this should not have anything to do with full row mode. If you do believe this has to do with full row mode then it might be a bug on our side, and you can send us a test page and we will be happy to investigate further.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.