B
bnlockwood
Hello all,.
I have a datagrid and one of the columns has a static dropdownlist
which means each column has the exact same dropdownlist. On the c#
side values are pulled from the database and depending on the value
from the db it should either keep the dropdownlist enabled or it should
set it as disabled for that row. I believe some javascript like
document.getElementById would help somehow but I'm still learning.
Eg.
Each row has a color list of:
BROWN
BLUE
ORANGE
if the database says that the row value is null then disable & hide
that column for that row. Meaning that item doesn't need a color.
If someone could help that would be great. Thanks in advance.
I have a datagrid and one of the columns has a static dropdownlist
which means each column has the exact same dropdownlist. On the c#
side values are pulled from the database and depending on the value
from the db it should either keep the dropdownlist enabled or it should
set it as disabled for that row. I believe some javascript like
document.getElementById would help somehow but I'm still learning.
Eg.
Each row has a color list of:
BROWN
BLUE
ORANGE
if the database says that the row value is null then disable & hide
that column for that row. Meaning that item doesn't need a color.
If someone could help that would be great. Thanks in advance.