I know it’s possible in a customization of a dashboard to make adjustments to the dashboard. If certain selections are made, I can hide certain columns. Is it possible in the tracker itself to do this? In a regular customization I would grab the control reference value and use that to interact with the dashboard, but I’m curious if there is a native way in the tracker itself to refer to the grid views.
To explain a little further, I use a dashboard for an advanced search on part. When doing that, some fields are not applicable if a part is of a certain type. For example, if I’m talking about a tube I want the diameter, but if I want a strip material, I want the width. So if searching for tubes, I want to show the diameter column but not the width and vice versa. Reason being, we have a lot of different fields and its much nicer to see everything without scrolling back and forth.
@TDray something like this thread updated the grid, but once you have the grid then any Infragistics setter should work, emphasis on Should.
This hides the columns in a customization.
eugMaterial.DisplayLayout.Bands[0].Columns["JobMtl_IUM"].Hidden = true;
Thanks Greg. I know how to make the columns hidden in a dashboard customization. My problem comes in grabbing the grid while still in the tracker customization. Wondering if there’s a way to refer to it from there before I go to the dashboard customization. I want to be able to do this in an advanced search but can’t add additional customizations to the dashboard there. I’m probably not explaining well.
Got it. I have only done adding columns and labels in a tracker. I always went to a dashboard customization to do anything more.