Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
150
Retrieve value from a cell in Lightswitch grid
posted

Hi,

 

I have an infragistics grid on a screen in lightswitch.  One of the columns is a button control.  When the user clicks the button control I want the method to gather the following information from the row where the button is clicked:

Cell value for Column(0) of the row (autocompletebox)

Cell value for Column(1) of the row (textbox)

Is there any way to achieve this?

Regards,

Alan

  • 12004
    Verified Answer
    posted

    Hello Alan,

    Within the Button control to access the fields of the record that was clicked on you can bind from Details.Entity. E.g.:

    <Button Content="{Binding Details.Entity.ProductName}" />

    I have attached a sample that uses the Product table from the Northwind database.

    ButtonsLS.zip