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
160
Grid updating without a primarykey or hidden primarykey column.
posted

Hello,

We are trying to use the igGrid to edit records that do not necessarily have a visible primaryKey column. At first we tried to used a hidden column by setting the column property hidden: true, but it causes the data to shift one column to the left as seen in the screen shot below.

Notice that the checkbox selector is no longer visible and the data for the ID column is in the checkbox column.

To get around this I gave the primary key column a width of 0px, header of "", and removed the hidden: true property. This works fine except when we enter edit mode the row being edited displays a new column and is shifted to the left as seen in the following screen shot.

We are using version 11.2.20112.1023 of the jQuery controls.

Thanks,
Joshua

Parents
No Data
Reply
  • 23953
    Offline posted

    Hi joshua82,

    The first issue you are experiencing is because "RowSelectors" feature is enabled along with "Updating" feature. The problem is fixed in our next version which will be available very soon.

    I was unable to reproduce the problem which you are experiencing in your workaround. I've attached my sample. Please review it and see if it can help you.

    If it is not a problem you can post your igGrid initialization code for me to investigate.

     

    Best regards,

    Martin Pavlov

    Infragistics Inc.

    igGrid_Updating_and_RowSelectors.zip
Children