Hi,
How to get mutlple fields values of selected rows using the client-side method GetSelectedFieldValues?
I have seen the simple row-selection demo of ASPxGridView and i understood the java-script methods for fetching the single field values from selected-rows.
I need to get the multiple fields values from the selected-rows
Can you just provide me a simple code-snippet to get multiple fields values from the selected-rows using GetSelectedFieldValues and ASPxClientGridViewValuesCallback functions
Thanks in advance…
Best Regards,
SKF
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Hi,
Here is some sample code showing how to obtain selected field values:
function Button1_onclick() { ASPxGridView1.GetSelectedFieldValues("CategoryID;CategoryName", OnGetSelectedFieldValues); } function OnGetSelectedFieldValues(result) { for(var i = 0; i < result.length; i ++) for(var j = 0; j <result[i].length; j++) { alert(result[i][j]); } }
Thanks,
Plato