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
710
Monotouch - NUCLIOS New Release Examples (Edit Mode)
posted

Hi there,

it's possible to have an example of the new functionality edit grid through IGGridViewdatasourcehelper? With add cell, edit cell and delete cell?

thanks

Parents
  • 40030
    Verified Answer
    Offline posted

    Hi Rui, 

    The new Edit Mode feature in 13.2 comes down to basically one property: AllowEditing on IGGridViewDataSourceHelper:

    ds.AllowEditing = true;

    Once you turn that on, you now double tap any cell that supports editing, and that cell will become editable. Tap anywhere else, scroll it out of view, or close the keyboard, and edit mode will automatically end. 

    Editing currently supports a standard TextField for editing strings. You can create custom columns though and provide your own editors:

    You can read a lot more about the feature here: 

    http://help.infragistics.com/iOS/2013.2/?page=IGGridView_Configuring_Grid_Data_Entry.html

    I've also updated the sample with a custom DateColumn to show how to add custom editing. I use a TextField in the sample, but you can use anything you want. 

    Hope this helps,

    -SteveZ

    CustomCell.zip
Reply Children