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
440
Grid is ReadOnly
posted

We use a UltraWebGrid to create a custom server control. This grid is editable and the properties of DisplayLayout.AllowUpdateDefault, Column.AllowUpdate, and Cells.AllowEditing is enabled. However, none of the grid cell is editable. What could be the problem?

Parents
  • 45049
    Verified Answer
    posted

    anwang168 said:
    We use a UltraWebGrid to create a custom server control.

    Can you provide more detail as to how you're including WebGrid in your custom server control?

    If you're emitting the HTML of the grid to your control, it's possible that you might not also be accounting for the JavaScript files used by the control.  This would cause the grid to be nearly totally non-responsive, since our client-side object model would not have been loaded.  You would need to emit the necessary script tags to the page yourself in this case, including the JavaScript call to igtbl_initGrid() to initialize the grid when the page completes rendering on the client.

    If you're using some other approach, we'll need more information as to what you're doing.

Reply Children