I won't lie, I am a bit confused as to why the grid edit control binding works the way it does. It seems like if I bind to a particular list then that list should be what is displayed, however, from what I can tell, the binding is getting filtered based on the associated column values instead.
Anyway, I have a grid that is bound to assets and a person's name is associated with each asset, however, there could be more people available, but they do not have assigned assets. When creating a new asset, I want all available people to be displayed in the edit dropdown but it is only showing people who actually currently have assets assigned. Assets and people are different lists.
Here you can see that I set ViewBag.DropDownAssetData to all of the people available.
I bind to that:
But, because there is only a single asset, belonging to "Scott" that is the only value that appears in the edit dropdown even though my ViewBag has both names.
So, my question is, how do I bind directly to the list in the ViewBag rather than having it filtered based on current column values? I have changed a ton of stuff trying to get this to work but at this point I guess I am lost.