Hello i have some problems with the flexgrid.
First of all on Android don't shows the rows event if the event CellFactory and AutoGeneratingColumn are called. this is my code:
context = new VMAzioniGrid(_filtri);
BindingContext = context;
Then on IOs it's always selected the last row. Why? i don't know if it's happen even on android because i don't see the rows.
And a last question is there a way to do paging in the grid?
Thank you
Hello i have some problems with the flexgrid. First of all on Android don't shows the rows event if the event CellFactory and AutoGeneratingColumn are called. this is my code: context = new VMAzioniGrid(_filtri); BindingContext = context;
private void OnAutoGeneratingColumn(object sender, GridAutoGeneratingColumnEventArgs e) { //System.Diagnostics.Debug.WriteLine("viewAzioniGrid - OnAutoGeneratingColumn"); System.Diagnostics.Debug.WriteLine("viewAzioniGrid - OnAutoGeneratingColumn - e.Property.Name: " + e.Property.Name);
public class MyCellFactory : GridCellFactory { /// /// Override BindCellContent to customize the cell content /// public override void BindCellContent(GridCellType cellType, GridCellRange range, View cellContent) { Guid f = Guid.NewGuid(); System.Diagnostics.Debug.WriteLine(f + " BindCellContent"); base.BindCellContent(cellType, range, cellContent); var label2 = cellContent as Label; System.Diagnostics.Debug.WriteLine(f + " cellType " + label2.Text); System.Diagnostics.Debug.WriteLine(f + " range.Column " + range.Column.ToString());
Then on IOs it's always selected the last row. Why? i don't know if it's happen even on android because i don't see the rows. And a last question is there a way to do paging in the grid? Thank you