I want to create a datagrid in the style like the picture. As data comes in, the data is stacked vertically.
I want the vertical line to be selected when clicked. I looked at the sample code supported here, but couldn't find anything like this.
Hello,
I would like to confirm which platform you are using in this case. It appears that this thread was posted in our ASPNET MVC forums, but the tags contain Xamarin, which are two separate platforms and toolsets. Can you please confirm this?
you're right. I am using Xamarin.Not this thread?
I have moved this thread to the correct one.
Regarding your question, I believe the best way to achieve this would be to utilize the data grid control in our Xamarin toolset, which you can read about here: https://ko.infragistics.com/help/xamarin/datagrid-getting-started-with-grid. In the screenshot you have provided, “Wavelength” would be a column in the grid, and as you add rows to it, it would display the value.
You also mentioned a selection behavior that I am a little unsure of here though. You mentioned that you “want the vertical line to be selected when clicked.” Can you please elaborate on this a bit further? What vertical line are you referring to?
Please let me know if you have any other questions or concerns on this matter.