datagrid button selectivly enabled

K

kpg

Hi all,

Simple (?) question.

I have a webcontrols.datagrid with a button column. Depending on the data
in the row I want the button to be enabled or disabled.

Optionally, I want the button to be visible or not visible.

I'm building the datatable record soruce from scratch, so I'm visiting
each row, I thought that would be a good place to inspect the row value
and make the determination, but I can't seem to figure out how to get
to the button for an individual row.

Is this possible?

TIA
kpg
 
K

kpg

I have something I can make work, a hyperlink column. The text
of the link comes from the datatable, so I can have it show 'Locked'
or 'Edit'. Not 100% ideal, but workable.

Template columns seemed interesting, but I don't think each row
can be different, which is what I want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,129
Latest member
FastBurnketo
Top