Forums

Problem with GetRowValues in GridView

Last post 9/10/2008 4:47 PM by Mehul Harry (DevExpress). 1 replies.
Sort Posts: Previous Next
  • Curtis Traverse

    Problem with GetRowValues in GridView

    9/9/2008 7:55 AM
    • Not Ranked
    • Joined on 11/26/2007
    • Posts 14

    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.

  • Mehul Harry (DevExpress)

    Re: Problem with GetRowValues in GridView

    9/10/2008 4:47 PM
    • Top 10 Contributor
    • Joined on 12/7/2006
    • California
    • Posts 3,350

    Hi Curtis,

    As you know this has been answered here already: Q184226

    Please do not double post the same question.

More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.