in
Forums
Blogs
DevExpress.com
Client Center
Support Center
DevExpress Channel

Problem with GetRowValues in GridView

Last post 9/10/2008 4:47 PM by Mehul Harry (Developer Express). 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 9/9/2008 7:55 AM

    Problem with GetRowValues in GridView

    I have the following code that I am using in my Asp.net application.

     <script type="text/javascript">
            //function is called on changing focused row
            function OnGridFocusedRowChanged() {
                // Query the server for the "EmployeeID" and "Notes" fields from the focused row
                // The values will be returned to the OnGetRowValues() function 
                
                grid.GetRowValues(grid.GetFocusedRowIndex(), 'Order #;LineNum;Qty Cmplt;Customer Notes;Sales Order Notes;Rem Qty', OnGetRowValues);
            }
            //Value array contains "EmployeeID" and "Notes" field values returned from the server
            function OnGetRowValues(values) {
                CallbackPanel.PerformCallback(values);
            }
        </script>

    This works fine unless I have a comma in one of my columns. The List of parameters that comes from GetRowValues is comma delimited but does not have any kind of quote or anything seperating it. Is there a way to workaround this? I need to be able to split this parameter somehow into the individual elements from the selected row.

  • 9/10/2008 4:47 PM In reply to

    Re: Problem with GetRowValues in GridView

    Hi Curtis,

    As you know this has been answered here already: Q184226

    Please do not double post the same question.

Page 1 of 1 (2 items)
Copyright © 1998-2009 Developer Express Inc.
ALL RIGHTS RESERVED