Home Forums WPF controls Xceed DataGrid for WPF Anyway to make primary key column editable?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #26577 |

    Is there any way to primary key column editable?

    There is an inner join from category to products, i am binding the primary key for categories column as combobox, but since categoryid is a foreign key from a primary key i am not able to select the combobox..

    any advise would be really appreciated..

    regards,
    Kennis

    Imported from legacy forums. Posted by Kennis (had 1774 views)

    Xceed Support
    Member
    Post count: 5658

    I am not sure I understand 100% of your scenario, but a column could end-up being non-editable if it is not of a basic type ( string, int, … ) and no CellEditor was assigned to the column.

    Also, if the column is of a basic type and/or a CellEditor was assigned to the column, the DataGridControl will automatically make a Column editable if the underlying property is Get/Set. If the property is Get only, it will not be editable.

    Imported from legacy forums. Posted by Marcus [Xceed] (had 2889 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.