KDog
asked on
Adding WebGrid Checkbox Column checked by default
I have added a checkbox column to my grid and seems to work. But how can I have the all checkbox checked by default?
Using VS 2015 MVC
@DGrid.GetHtml(columns: DGrid.Columns(
DGrid.Column(header: "Update?", format: @<text><input name="chkbox"
type="checkbox" value="SLID" /></text>),
DGrid.Column("Item"),
DGrid.Column("Serial"),
DGrid.Column("Asset")
)
Using VS 2015 MVC
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad to help!
ASKER