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
1935
How to get data into a 2-column grid for data entry
posted

We're redesigning a huge application at work and I'm tasked with figuring out whether the Infragistics grid is the appropriate tool for much of the data entry.

Our current data entry screens are nibs, and there are tons of them.

We're looking to replace all these nibs with a more generic, simple, reusable type of layout.

Per the image...

(A) The field labels would be presented in the first column in the 2-column grid.  This you would just create in code, or perhaps read from an XML file.  

(B) This would be an array of values pulled from Core Data (which pulled them from Sqlite).  These need to go into the second column.

(C) The rows in the grid cannot be in any ol random order.  For example, the user is going to be irritated if they open the app the second time and see the rows listed as ...

  • City
  • Last Name
  • State
  • First Name
  • Zip
  • Street

Current understanding / needs:

1. I think sorting will be required here in order to enforce the order of the entry fields as shown in the first column of the grid, but that will mean attaching additional data to (A) that will allow the sorting to occur, but if I did have two data items in (A), a numeric sort order value, and a corresponding label value, I don't know how I'd get the labels into the grid, while sorting with the numbers.

2. The grid only has 1 property for it's data.  There isn't for example, a datasource for the labels column, and a datasource for the values column.  So I'm not sure how to set up the grid for this sort of data entry.

3. The values in column 2 of the grid need to be aligned with their corresponding labels in column 1.  The user will be quite confused if they see "First Name" --> 98119.  I don't know how to achieve that either.

Thanks for any help.

Parents Reply Children
No Data