DataGrid Widget Selected Row

Hi,

I have mocked up data on a DataGrid widget and I want to be able to display/run actions based on the selected row of data. How can I access and update this data? I am not able to add any animations to the widget, so I tried making a script based on the DataGrid.SelectedRow on a data change to display the SelectedRow on a text box but that was never getting shown. I was hoping to at least see what SelectedRow returned besides knowing the data type is a string. My datasource is a json structure. 

Also, is it possible to update the information in the DataGrid datasource based on actions done on the graphic? I tried to set the datasource by just sending the whole updated json structure as a string but since I need the " character to reference a string in the json structure. I also attempted to send it not as a string but the { character is the start of a multiline comment so that wasn't an option either. 

Thanks

Parents Reply
  • I have it currently bound to Datasource.ToString(). This gets me the row information of the selected row, but it doesn't update the selection after I make the first selection.

    I briefly messed around with binding it to a custom property right before replying and I couldn't get the selection to actually select now. Could you share more information on how you set up the custom property and binded it? Maybe I am just missing something.

Children
No Data