Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Checkbox in a wwWebDataGrid

$
0
0
Re: Checkbox in a wwWebDataGrid
Web Connection 5.0
Re: Checkbox in a wwWebDataGrid
04/18/2012
02:13:32 AM
3HD04RTDW Show this entire thread in new window
Gratar Image based on email address
From:
Luca
To:
Attachments:
None
Wonderful!
Please, is it a way to make checkboxes read only in Grids?
Thank you very much again



No. You can't embed controls into a datagrid. However you can generate HTML into them either using string text or a function.

<ww:wwWebDataGridColumn id="wwWebDataGridColumn2" Expression="this.Page.DrawCheckBox()" />

You can then implement a page level function that produces the HTML for this control

FUNCTION DrawCheckBox() lcOutput = [<input type="checkbox" id="chkControl_] + TRANS(cursor.Id) + ; [" ] + iif(cursor.IsReqiured,[ checked="checked"],[]) + ; [/>] RETURN lcOutput ENDFUNC

More info here:
wcdocs:_1oj1boxsb.htm

+++ Rick ---


Dear Rick,
please is it possible to have a Checkbox (for a logical field) in a wwWebDataGrid's Column?
Thank you very much




Viewing all articles
Browse latest Browse all 10393

Trending Articles