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
40
primaryKey and editing
posted

Hi, my question is can I create an editing grid without assign primaryKey column? because in most of my app, PK is just numbers which I dont want show them.

or if I can hide primaryKey column, it is also OK, but there will be an alignment issue because a hidden column will leave a blank area inside the grid which is not my expect.

thanks!

Parents
  • 24671
    posted

    could you try with the following code:

    in the UltraWebGrid1_InitializeLayout :

    UltraWebGrid1.Bands(0).Columns.FromKey("NameOfYourPrimaryColKeyHere").Hidden = True

     

    Thanks,

    Angel

Reply Children
No Data