LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2002, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
=========================================================================
Date:         Thu, 18 Jul 2002 13:49:49 -0400
Reply-To:     Randy Herbison <RandyHerbison@WESTAT.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Randy Herbison <RandyHerbison@WESTAT.COM>
Subject:      Re: Check box in a data table
Comments: To: Armin Bauerbach <armin_bauerbach@DADEBEHRING.COM>
Content-Type: text/plain; charset="iso-8859-1"

Armin,

Yes, there is a way to do this with FRAME entries.

1. Create a FRAME entry which contains the control you would like to use.

* editor.frame SCL;

dcl char(1) value; dcl object objectID;

init: radiobox.selectedItem=value; return;

term: value=radiobox.selectedItem; return;

2. Use the Column Properties Class's cellControl attribute to specify the FRAME entry to serve as the cell editor. Access the cellControl attribute from the SAS data set model's properties editor or SCL.

* FRAME (which contains the table viewer control) SCL; dcl num columnNumber; sasdataset._getColumnNumber('myColumn',columnNumber); sasdataset.columns{columnNumber}.cellEditor='editor.frame';

RandyHerbison@westat.com -----Original Message----- From: Armin Bauerbach [mailto:armin_bauerbach@DADEBEHRING.COM] Sent: Thursday, July 18, 2002 11:41 AM To: SAS-L@LISTSERV.UGA.EDU Subject: Check box in a data table

Hi, does anybody know whether there is a way in a data table to use control as column representation other than TextEntry, DropDownList or so? I would like to use a Radiobox or Checkbox Control as column representation. For example I would like to use a checkbox control for a numeric column of a data set. For the value 1 the checkbox should be checked on for the value 0 the checkbox should be checked off. Is this possible? Any help would be appreciated.


Back to: Top of message | Previous page | Main SAS-L page