alex Alex alex Alex - 18 days ago 15
Android Question

datagridview on Android

I use Xamarin for an Android project.

I want to create a table, with multiple columns and rows and editable cells.

I haven't found how to do this, because I need that table to be editable. I tried tablelayout and listview, but they are not what I am looking for. I just need an idea.

Answer

You can use GridView and set onClick event for each and every child-view1 inside the item, also made themselectable. Every time you click on each child-view, display popup (or switch thatchild-view) with anEditTextorSpinneror whatever fit with you data, change them, save, refreshGridView`, that the BEST you CAN do. Hope this helps.

Comments