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
50
determining UltraGrid state
posted

Hi,

I am new to Infragistics library and have inherited a project that uses it.

We have a form that contains an UltraGrid that by default is not editable. When an edit button is clicked, the grid becomes editable. When right clicking on a row, there are items in the context menu that should be disabled if the grid is not editable. I need a way to determine this state. In addition, each row has AllowEdit set depending on whether the current user is the owner of the row (one of the row's fields has the owner name recorded).

I tried checking UltraGrid.CurrentState, but this doesn't work for me.

Thanks in advance,

Parents Reply Children