Adding fields to Data Grid

Michael Magoon shared this question 7 years ago
Answered

Is it possible to add fields once a Data Grid has been created? I find that I constantly get new ideas as to what fields should display in a Data Grid after I have already created it. As far as I can tell, I cannot add new fields to a Data Grid.


Am I missing something?

Comments (13)

photo
1

Just drag a data master attribute from the 'Data Master''s tab to the cell where you want to display that new attribute.

photo
1

Thanks.

photo
1

Hi,


I tryed to do as Victor wrote but without success, no column is added to my existing data grid. I did following steps:


1. I created a new data grid and formated it.


2. I added a new attribute to the data master


3. I dragged the new attribute from the "DataMaster"'s tab to the data grid, but I am only able to drop it into an existing column but not as a new column.


What is my mistake?

photo
1

Between the 2on and 3rd step you have to do this:


Select the data grid with the right-button of the mouse and select 'New column' (select the data grid in the Outline view instead of selecting it in the canvas, it will be easier).

photo
1

Ok, thank you very much. I allways selected a column because I assumed that it works like "insert before or after" an existing column. But now I learned that new columns only can added at the end of the grid.


I suggest to enable inserting new columns between existing columns.

photo
1

I'm not certain, but confident, that Andreas' request to "insert before or after an existing column" is essentially addressed by the ability to add a column even if only at the end, because after adding, it is straightforward to move items around amongst the columns. When moving Input items that are tied to the master, you just have to realize that their associated field/column is adjustable with the Properties>Data Field item.


PS, I too needed this GS topic to understand how to add a column/field. The JIM method of adding to the grid makes me see a commonality with how one adds to Dynamic Panels... making sure the whole container "has the focus" (is selected). Definitely a tricky subtlety that I'm adding to my list of topics for "Justinmind Expert's Guide" :)

photo
1

Great info, and once again everything I want to do in JIM is somewhere, sometimes just needs a little more digging because of how much this tool is trying to do. Andreas's request to "inserting new columns between existing columns" is, in effect addressed but admittedly not in a single click... because there do not seem to be any limitations on moving items around in the grid. You just need to know about Properties>Data Field (to reassign items). I'm accumulating a nice list of JIM expert topics and usability ideas, but this one's broad enough to mention right here: a lot of these interaction subtleties and challenges could be made more discoverable by having an Object menu on the top toolbar, with all conceivable object actions visible, and either grayed or enabled based on the current object. Having them visible even when disabled will train me, as a new user, about the availability of them.

photo
1

I am trying to add new attributes to a datagrid, but whenever I do this the attribute appear as input fields. Who do I add attributes so they only appear as text? Cannot figure this out.

photo
1

Change the properties of the input field and make it non-editable and remove the border.

photo
1

I did that previously, but it doesn't fix dropdown menus. I've found workarounds. Its just odd.

photo
1

I agree the dropdown menus are a bit special. We'll try to make them easier in future releases. Thanks so much for your help.

photo
1

This method worked like a charm. I am really loving J.I.M. This community support option is a time-saver!

photo
1

Funny! I have started my CSS and am writing down the tricks I am finding. Are you writing a J.I.M. Expert's Guide?