Custom itemRenderer component based on cell value: error 1009

I'm working on an item renderer for a dataGrid that has different states depending on the cell and row values.
The cell value is a toggle (true or null), and sets whether content should be shown in the cell or not
The row properties determine what is shown when the cell value is true.
The dataGrid dataProvider is populated based on user id input.
I created the itemRenderer as a custom actionscript component, closely following this example:
360Flex Sample: Implementing IDropInListItemRenderer to create a reusable itemRenderer
However, my component results in Error #1009 (Cannot access a property or method of a null object reference) when a user id is submitted.
package components
     import mx.containers.VBox;
     import mx.controls.*;     import mx.controls.dataGridClasses.DataGridListData;
     import mx.controls.listClasses.BaseListData;
     import mx.core.*;
     public class toggleCellRenderer extends VBox
          public function ToggleCellRenderer()
          {super();}
          private var _listData:BaseListData;   
               private var cellState:String;
               private var cellIcon:Image;
               private var imagePath:String;
               private var imageHeight:int;
               private var qty:String = data.qtyPerTime;
               private var typ:String = data.type;
          public function get listData():BaseListData
               {return _listData;}
          public function set listData(value:BaseListData):void
               {_listData = value;}
          override public function set data(value:Object):void {
               super.data = value;
               if (value != null)
               //errors on next line: Error #1009: Cannot access a property or method of a null object reference.
               {cellState = value[DataGridListData(_listData).dataField]}
          override protected function createChildren():void {
               removeAllChildren();
               if(cellState=='true'){
                    cellIcon = new Image();
                    addChild(cellIcon);
               //there is another state here that adds another child...
          //next overrides commitProperties()...
There are no errors if I don't use an itemRenderer--the cells correctly toggle between "true" and empty when clicked.
I also tried a simple itemRenderer component that disregards the cell value and shows in image based off row data--this works fine without errors or crashing. But I need to tie it to the cell value!
I have very limited experience programming, in Flex or any other language. Any help would be appreciated.

Your assumption that the xml file either loads with "true" or nothing  is right.
After modifying the code to the following, I don't get the error, but it's still not reading the cell value correctly.
package components
     import mx.containers.VBox;
     import mx.controls.*;   
     import mx.controls.dataGridClasses.DataGridListData;
     import mx.controls.listClasses.BaseListData;
     import mx.core.*;
     public class toggleCellRenderer extends VBox
          public function ToggleCellRenderer()
           super();
          private var _listData:BaseListData;   
          private var cellState:Boolean;
          private var cellIcon:Image;
          private var imagePath:String;
          private var imageHeight:int;
          private var qty:String;
          private var typ:String;
           public function get listData():BaseListData
             return _listData;
          override public function set data(value:Object):void {
               cellState = false;
               if (listData && listData is DataGridListData && DataGridListData(listData).dataField != null){
                   super.data = value;
                   if (value[DataGridListData(this.listData).dataField] == "true"){
                       cellState = true;
          override protected function createChildren():void {
               removeAllChildren();
               if(cellState==true){
                    cellIcon = new Image();
                    addChild(cellIcon);
               //there is another state here that adds another child...
          //next overrides commitProperties()...
- didn't set the value of qty or typ in the variable declarations (error 1009 by this too--I removed this before but wanted to point out in case its useful)
- added back in the get listData() function so I could use the listData
- changed the null check
All cells are still returning cellState = false when some are set to true, even if I comment out [if (value[DataGridListData(this.listData).dataField] == "true")] and just have it look for non-null data. That shouldn't make a difference anyway, but it confirms that all cells are returning null value.
Swapping out the first if statement in set data with different variables results in the following:
[if (listData != null)]  all cells return null (cellState=false for all)
both [if (value != null)] and  [if (DataGridListData != null)]  results in error 1009 on a line following the if, so I assume they return non-null values.
All rows have data, just not all fields in all rows, so shouldn't listData be non-null?  Could it be that the xml file hasn't fully loaded before the itemRenderer kicks in?
I also realized  I had removed the item renderer from many of the columns for testing, and since some columns are hidden by default only one column in the view was using the itemRenderer--hence the single alert per row I was worried about earlier.
Thanks for your help so far.

Similar Messages

  • Conditional Formatting - how to change cell colour based on cell value

    I am in the process of moving some Excel spreadsheets into Numbers on my iPad. The Excel spreadsheet had conditional formatting in certain cells. If the cell value was less than a certain amount (<46 for example), the cell background would automatically turn yellow.
    Is there any way to make Numbers on iPad do this?
    Thanks for any help you can provide.
    Scott

    I beleive this is one of those doable tings on desktop that gets taken out on ipad. If you would like to suggest this as an idea for apple to put in, please go to http://www.apple.com/feedback

  • Entire row conditional formatting based on cell value

    What is the best way to apply conditional formatting to an entire row based on the value of one of the columns on that row? For example, I just want to highlight the entire row (make it red color) if the value of one of the columns is greater than 0. The method described in the past discussions is just way to difficult to apply in real life scenarios. I think it should work without any tricks as it's just a very basic functionality of spreadsheets.

    The other idea is to make a second table, which has a single column and is as wide as the first table.  This second table will reference the value in the first table which indicates how to shade and is formatted with conditional formatting.  The second table is slid behind the first, AND the first is made transparent.
    - Bottom table refers to original (top) table
    bottom table contains conditional formatting as:
    Now make the original table transparent by selecting the table and changing the background fill to none.
    Now send the second table to the back by selecting the table then the menu item "Arrange > Send to Back"
    Now slide the second table under the original

  • Conditional Format based on cell value

    For example; want to turn a cell yellow if its value is less than another cell value.
    Is this possible?
    Conditional format rules don't seem to like cell references.

    There are many ways to call attention to a value that needs to be emphasized because of its relationship to other values. What you decide to do will be influenced by how particular you are about the end result vs. the trouble that you will have to go through to achieve it. When other cells need to reference a cell that may be either text or numeric, you can use the TRIM function, or other text functions, to remove interfering characters. Here's an example, where you can see the last row multiplying the previous, manipulated row, by 2.
    Also, all the cells are formatted as Currency, with to ill effect. In the example I left the cells with the conditional format in default alignment so you could see the added space character against the left margin of the cell.
    I think the easiest way to call attention to a cell is to add an adjacent row of column with a conditional expression that 'lights-up' when there is an alarm condition.
    Jerry

  • Using a custom itemrenderer in datagrid to update value in the same row but different column/cell

    Here's what I have so far.  I have one datagrid (dg1) with enable drag and another datagrid (dg2) with dropenabled.  Column3 (col3) of dg2 also has a custom intemrenderer that's just a hslider.
    When an item from dg1 is dropped on dg2, a custom popup appears that asks you to use the slider in the popup to set a stress level.  Click ok and dg2 is populated with dg1's item as well as the value you selected from the popup window.  I was also setting a sliderTemp variable that was bound to the itemrender slider to set it but that's obviously causing issues as well where all the itemrenderer sliders will change to the latest value and I don't want that.
    What is needed from this setup is when you click ok from the popup window, the value you choose from the slider goes into dg2 (that's working) AND the intemrenderer slider needs to be set to that value as well.  Then, if you used the intemrenderer slider you can change the numeric value in the adjacent column (col2).   I just dont know how to hook up the itemrenderer slider to correspond with that numeric value (thatds be in col2 on that row);
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="955" minHeight="600"
                        xmlns:viewStackEffects="org.efflex.mx.viewStackEffects.*" backgroundColor="#FFFFFF" creationComplete="init(event)"
                        xmlns:components="components.*" xmlns:local="*">
         <mx:Script>
              <![CDATA[
                   import mx.binding.utils.ChangeWatcher;
                   import mx.collections.ArrayCollection;
                   import mx.controls.Alert;
                   import mx.controls.TextInput;
                   import mx.core.DragSource;
                   import mx.core.IUIComponent;
                   import mx.events.CloseEvent;
                   import mx.events.DataGridEvent;
                   import mx.events.DragEvent;
                   import mx.events.FlexEvent;
                   import mx.events.ListEvent;
                   import mx.events.SliderEvent;
                   import mx.events.SliderEventClickTarget;
                   import mx.managers.DragManager;
                   import mx.managers.PopUpManager;
                   import mx.utils.ObjectUtil;
                   [Bindable]private var myDP1:ArrayCollection;
                   [Bindable]private var myDP2:ArrayCollection;
                   [Bindable]public var temp:String;
                   [Bindable]public var slideTemp:Number;
                   private var win:Dialog;     
                   protected function init(event:FlexEvent):void{
                        myDP1 = new ArrayCollection([{col1:'Separation from friends and family due to deployment'},{col1:'Combat'},{col1:'Divorce'},{col1:'Marriage'},
                             {col1:'Loss of job'},{col1:'Death of a comrade'},{col1:'Retirement'},{col1:'Pregnancey'},
                             {col1:'Becoming a parent'},{col1:'Injury from an attack'},{col1:'Death of a loved one'},{col1:'Marital separation'},
                             {col1:'Unwanted sexual experience'},{col1:'Other personal injury or illness'}])
                        myDP2 = new ArrayCollection()
                   protected function button1_clickHandler(event:MouseEvent):void
                        event.preventDefault();
                        if(txt.text != "")
                             Alert.yesLabel = "ok";                    
                             Alert.show("", "Enter Stress Level", 3, this,txtClickHandler);
                   private function image_dragEnter(evt:DragEvent):void {
                        var obj:IUIComponent = IUIComponent(evt.currentTarget);
                        DragManager.acceptDragDrop(obj);
                   private function image_dragDrop(evt:DragEvent):void {
                        var item:Object = dg2.selectedItem;                    
                        var idx:int = myDP2.getItemIndex(item);
                        myDP2.removeItemAt(idx);
                   protected function dg1_changeHandler(event:ListEvent):void
                        temp=event.itemRenderer.data.col1;     
                   protected function dg2_dragDropHandler(event:DragEvent):void
                        event.preventDefault();                         
                        dg2.hideDropFeedback(event as DragEvent)
                        var win:Dialog = PopUpManager.createPopUp(this, Dialog, true) as Dialog;
                        win.btn.addEventListener(MouseEvent.CLICK, addIt);
                        PopUpManager.centerPopUp(win);                              
                        win.mySlide.addEventListener(Event.CHANGE, slideIt);
                   private function txtClickHandler(event:CloseEvent):void {
                        trace("alert");
                        if (event.detail==Alert.YES){
                             myDP2.addItem({label:temp});
                   private function addIt(event:MouseEvent):void{                    
                        myDP2.addItem({col1:temp, col2:slideTemp})
                   private function slideIt(event:SliderEvent):void{                    
                        slideTemp = event.target.value;               
              ]]>
         </mx:Script>
                   <mx:Panel x="10" y="10" width="906" height="481" layout="absolute">
                        <mx:Image x="812" y="367" source="assets/woofie.png" width="64" height="64" dragDrop="image_dragDrop(event);" dragEnter="image_dragEnter(event);"/>
                        <mx:DataGrid x="14" y="81" width="307" height="251" dragEnabled="true" id="dg1" dataProvider="{myDP1}" wordWrap="true" variableRowHeight="true" change="dg1_changeHandler(event)">
                             <mx:columns>
                                  <mx:DataGridColumn headerText="Examples of Life Events" dataField="col1"/>
                             </mx:columns>
                        </mx:DataGrid>
                        <mx:DataGrid x="329" y="81" height="351" width="475" dragEnabled="true" dropEnabled="true" id="dg2"
                                        wordWrap="true" variableRowHeight="true" dataProvider="{myDP2}" editable="true"
                                        dragDrop="dg2_dragDropHandler(event)"  rowHeight="50" verticalGridLines="false" horizontalGridLines="true" >
                             <mx:columns>
                                  <mx:DataGridColumn headerText="Stressor" dataField="col1" width="300" wordWrap="true" editable="false">
                                  </mx:DataGridColumn>
                                  <mx:DataGridColumn headerText="Stress Level" dataField="col2" width="82" editable="false"/>
                                  <mx:DataGridColumn headerText="Indicator" dataField="col3" width="175" paddingLeft="0" paddingRight="0" wordWrap="true" editable="false">
                                       <mx:itemRenderer>
                                            <mx:Component>
                                                 <components:Compslide/>
                                            </mx:Component>
                                       </mx:itemRenderer>
                                  </mx:DataGridColumn>
                             </mx:columns>
                        </mx:DataGrid>                    
                        <mx:Text x="14" y="10" text="The first category of underlying stressors is called Life Events. The list includes both positive and negative changes that individuals experience. Both can be stressful. For example, becoming a parent is usually viewed as a positive thing, but it also involves many new responsibilities that can cause stress. " width="581" height="73" fontSize="12"/>
                        <mx:TextInput x="10" y="380" width="311" id="txt"/>
                        <mx:Text x="10" y="335" text="Add events to your list that are not represented in the example list.  Type and click &quot;Add to List&quot;&#xa;" width="311" height="51" fontSize="12"/>
                        <mx:Button x="234" y="410" label="Add to List" click="button1_clickHandler(event)"/>
                   </mx:Panel>     
    </mx:Application>

    how do i go about doing that?  do i put a change event function in the itemrenderer?  and how would i eventually reference data.col2?

  • Setting JTable Background Row Color based on cell Value

    I am new to Java and JDeveloper (so bear with me). I have managed to create a Swing form using BC4J (Jdev 10g preview) which contains a scrollpane with a view object represented as a table. I would like to be able to color the rows that are displayed within the table differently depending on the value of a cell/column within the row. Its not obvious to me from the property inspector how to do this - I assume it is possible as all the other bells and whistles appear to be in place.
    Thanks in advance
    Simon

    Simon,
    in Swing this is not done through properties but a custom cell renderer. You can check the Swing tutorial on http://java.sun.com for how to modify the default behavior of a JTable component. A very good book to learn Swing is "Java Swing" from O'Reilly (ISBN 0-596-00408-7).
    ADF JClient uses Swing components and therefore everything you can do in Swing you can do with JClient.
    Frank

  • Basing one cell value off of another

    Hello
    I have been searching the internet for the last few hours, and have come up empty handed, so I figured I would post here.
    Lets say I have a "Pop-up" menu with three items in cell A4.  The Pop up menu values are 1, 2, and 3
    Now lets say I have a different cell (B6 for example) whose values I want to change based upon the Pop Up Menu selection.
    Normally I would do something along the lines of this in cell B6.
    =IF(A4=1,"7", IF(A4=2,"6", IF(A4=3,"5"))) or something like that.
    However what I am trying to do is make B6 editable after my selection.  So pretty much when I select say "2" from the pop up menu, I want B6 to display 6 and then I want to be able to change that value (in this case 6) manually without getting rid of the formula.  Putting it in simpler terms, I want to be able to select a "preset" for a few cells from the pop up, and then edit the "preset" to my liking.  I have no idea how to go about this in numbers, and have been searching for the last few hours, so any help would be appreciated. My guess is that no such thing can exist, but any solution, hint or tip, would really help me out.
    Thanks.

    Hello,
    At its core, this is the same question as you posed later under the heading Editing a cell without deleting the formula. Your guess is correct. Further details in your other thread.
    Regards,
    Barry
    PS: As written your formula will return the text strings "7", "6" or "5" for numerical values of 1, 2 or 3 respectively in A4. If you want the results to be numbers, rather than text, leave off the quotation marks. Also missing from your formula is the specification of what result to return if A4 contains a value other than 1, 2 or 3.
    B

  • Need help w a popup based on cell value

    I have a spreadsheet that when the value of any cell in column  H between rows 2 & 71 is greater than cell K1 I would like a popup to say "Winner"
    Thank you in advance for any help
    Dustin Shepard

    Hello,
    where would you like the popup? How are the values in H2 to H71 getting changed? If they are changed by manual user entry, you could use a worksheet change event like this:
    copy the code below. Right-click the sheet tab, select "View Code" and paste the code into the big, white code window:
    Private Sub Worksheet_Change(ByVal Target As Range)
        If Not Intersect(Target, Range("H2:H71")) Is Nothing Then
            If Target > Range("K1") Then
                MsgBox ("The Winner is cell " & Target.Address)
            End If
        End If
    End Sub
    Close the VBA editor and change a value in your sheet.
    If this is not what you want to achieve, please provide more background.
    cheers, teylyn

  • Data Merge - Is there a way to selectively hide rows/columns from layouts based on cell values?

    I'm using data merge to generate pages from a product spreadsheet. The complication is, some columns should exist for some products (like "qty per bundle") but need to be hidden for others. Is there a way for InDesign to automatically include or remove rows for some pages but not others, based on something like "qty = 0"?

    For logic-based data merge, I use Em Software's product InData.
    Depending upon the design, ID's merge can remove blank fields thereby removing there paragraph or position on a line. Unless, of course, you have static text along with it. Which I almost always do. that's why I use Em Software's solution. It has a trial version. One needs to get familiar with the language statements. But for me it was worth the price and learning curve.
    And there are other plug-ins but for "simple" merging they are overkill in my circumstances (and so cost more).
    Mike

  • Error while pointing to Custom MSS Component

    Hello,
    We are implementing MSS on Portal. I have Z copied the standard MSS Webdynpro Component HRMSS_C_CATS_APPR_DASHBRD. To point to the custom one in the Homepage, I have the Custom Component Configuration ZHRMSS_HOMEPAGE_OVP, in which when I refer to the Custom Webdynpro Component created, I get the Error : 'Component <z component name> of UIBB (Window Name) implements an Invalid Interface'.
    What can be causing this?
    Any help would be highly Appreciated.

    Try closing and reopening the project. This is a common issue with Web Dynpro projects and closing and reopening tends to fix it.

  • Items in Tree control move around when data is submitted using custom ItemRenderer

    I'm working on a Tree control with an XMLListCollection as
    its dataProvider.
    The dataProvider has information looking like this :
    quote:
    <?xml version='1.0' encoding='utf-8'?>
    <INFO>
    <FIELD label="STR_USER_NAME"
    type="text"
    value=""
    >
    </FIELD>
    <FIELD label="STR_USER_EMAIL"
    type="text"
    value=""
    >
    </FIELD>
    <FIELD label="STR_OPTIONAL"
    type="branch"
    value="0"
    >
    <FIELD label="STR_USER_ADDRESS"
    type="text"
    value=""
    >
    </FIELD>
    <FIELD label="STR_USER_POSTAL_CODE"
    type="text"
    value=""
    >
    </FIELD>
    </FIELD>
    </INFO>
    So in the Tree control I'd like the information to show up
    with a label and
    an
    editable textbox for each item :
    [Label] [textbox]
    To do this I made a tree like this :
    quote:
    <mx:Tree id="userTree"
    editable="true"
    rendererIsEditor="true"
    editorDataField="curVal"
    itemRenderer="{new ClassFactory(ItemRendererUser)}"
    itemEditEnd="e_ProcessData(event);"
    dataDescriptor="{new DataDescriptorUsers()}"
    showRoot="false"
    verticalScrollPolicy="{ScrollPolicy.AUTO}"
    />
    where the e_ProcessData() function looks like this (I used
    http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/js/html/wwhelp.htm?href=c
    elleditor_073_16.html#202105 as a guide) :
    quote:
    public function e_ProcessData(event:ListEvent):void
    event.preventDefault();
    userTree.editedItemRenderer.data.@value =
    ItemRendererUsers(event.currentTarget.itemEditorInstance).curVal;
    userTree.destroyItemEditor();
    userTree.dataProvider.notifyItemUpdate(userTree.editedItemRenderer);
    } // END OF e_ProcessData()
    I attached the rest of the files because they're a little
    bit longer.
    When I run the program, the data shows up fine when it is
    initialized the
    very
    first time, and I made a test button that just dumps the
    contents of the
    dataProvider in a trace statement to verify that the data has
    been set
    properly.
    The problem I've run into is whenever the textfield is
    edited, the item
    that
    I've selected jumps around the list.
    For example, if I edit the item "STR_USER_NAME" after I
    finish the edit, it
    will move from the very first position in the Tree to the
    bottom of the
    Tree.
    I traced the contents of the dataProvider and the
    dataProvider structure
    stays
    the same, with the "STR_USER_NAME" at the top, but if I look
    at the flex app
    in
    the web browser, its position is at the bottom of the Tree.
    This happens for every other item I try to edit... I read in
    the
    documentation
    that the ItemRenderers are recycled, so it means I should be
    checking to
    make
    sure the initial states are covered, but I'm not sure how
    this affects my
    application.
    Can anyone help me out with this ? Its very confusing - I've
    tried making
    an
    ItemRenderer using pure actionscript, mxml and the
    combination you see in
    this
    example and I always end up with the same behaviour - So I
    must be missing
    something critical...
    // ItemRendererUsers.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    verticalScrollPolicy="{ScrollPolicy.OFF}"
    horizontalScrollPolicy="{ScrollPolicy.OFF}"
    creationComplete="initItemRendererUsers();"
    >
    From my FAQ:
    Q: I've created a custom itemRenderer component to use in a
    List
    based component (Datagrid, TileList, HorizontalList, etc.).
    When my List
    first displays, everything looks fine, but when I scroll it
    or change the
    dataProvider, some of the itemRenderers show values or
    formatting that
    aren't right. How do I fix this?
    A: List-based components don't draw a renderer for every item
    in the
    dataProvider. Instead, they create enough to display what is
    on screen now,
    plus one or two more waiting in the wings. This means they
    recycle the
    renderers rather than creating new ones when you change
    dataProvider or
    scroll up and down. When you use a creationComplete event to
    set up the
    itemRenderer, that event doesn't happen again when the
    renderer is used for
    a different set of data. The solution to this is to override
    the set data
    protected function that most components have.
    For more information, check out the following resources:
    http://www.adobe.com/devnet/flex/articles/itemrenderers_pt1.html?devcon=f1
    http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html
    Please note, I post this FAQ weekly, and you can find a
    permanent copy of it
    here
    http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf

    "peterh8234" <[email protected]> wrote in
    message
    news:gaqttd$kft$[email protected]..
    > Yes - the set and get functions are listed down below.
    But the quirky
    > behaviour
    > is the same regardless of whether I override the set and
    get functions or
    > not.
    >
    > I noticed there was another variable called listData -
    should I be using
    > that
    > one or the data variable to read and write to the
    dataProvider ?
    >
    > // _data
    > [Bindable] public var _data:Object;
    > [Bindable("dataChange")]
    > //
    > override public function get data():Object
    > {
    > trace('[ItemRendererDefault.GET data()] called for {' +
    > _data.attribute("label") + '}.');
    > return _data;
    > } // END OF get data()
    >
    > //
    > override public function set data(value:Object):void
    > {
    > _data.@value = inputText.text;
    > trace('[ItemRendererDefault.SET data()] called for {' +
    > _data.attribute("label") + '}.');
    >
    > invalidateProperties();
    > } // END OF set data()
    Your set data needs to set a flag that gets picked up in
    commitProperties()
    and does your thing that you were doing before in
    creationComplete. You
    should see examples of this in the links I posted. Instead of
    this:
    _data.@value = inputText.text;
    you should look at implementing IDropInListItemRenderer,
    which will allow
    you to dynamically determine which field to look at, instead
    of hardcoding
    it. You also might wind up overwriting the stored value with
    a null value
    when the List passes the stored value in. I'd encourage you
    to really go
    through those links I posted and make sure you understand
    what they're
    saying. The itemRenderer life cycle is one of the hardest
    things to
    understand, but once you understand it, it makes many things
    in Flex much
    easier. It's worth investing the time.

  • How to create folder names based on Excel values or Txt files?

    Hi there,
    I often need to create large numbers of folders based on names I have saved in an Excel spreadsheet. I know in windows there is a way to create a macro within excel that automatically generates folder names based on cell values.
    I was therefore wondering how to do the same on a Mac operating system. The main thing is to find a way to automate the process. I understand this may involve copying the values to a text file.
    Below is an example of the names I need to create folders for (copied from the excel spreadsheet):
    Wash Bowl Small 600
    Deck Mounted Wash Bowl 500
    Wash Basin - 866 - 2 Shelves
    Wash Bowl Large 800
    Built-In Wash Basin With 1-Taphole
    Deck Mounted Wash Bowl 625
    Would really appreciate a simple step by step approach to an explanation. As my understanding of using Automator, Apple Script, Terminal, etc, is extremely basic.
    Thanks and Best Wishes,
    Graham

    Hi Niel,
    Thanks again for another superb response. I have another question. Is it possible to automatically generate sub-folders along with the folder.
    For example:
    Folder                                                Subfolder
    Wash Bowl Small 600          >            2D CAD
                                                               3D CAD
                                                               BIM
                                                               Images
                                                               Brochures
                                                               Specifications
                                                               Technical
                                                               Case Studies
                                                               Operations
    Deck Mounted Wash Bowl 500    >   2D CAD
                                                              3D CAD
                                                              BIM
                                                              Images
                                                              Brochures
                                                              Specifications
                                                              Technical
                                                              Case Studies
                                                              Operations
    Above shows the 9 generic sub-folders I need to create within each folder that is generated.
    Best Wishes,
    Graham

  • Change an Object property based on a value coming from the Excel sheet

    hi all
    i've been able to bind a value from the excel sheet to my my component
    but i want to change a property of an object in my component based on this value at the run time.
    during the design time, it works fine
    for example, if my value called "_xvisible"
    and i use to it to hide some object.
    if i set _xvisible during the design time in excel, it works fine in the run mode.
    but during the run mode, if the value got changed, there is no affect.
    thank you
    Amr

    Hi
    See the xcelsius samples present inside xcelsius SDK. there are examples describing how to bind data which will work at runtime also.
    Hope this helps
    Rush-me

  • Change template type of region based on item value

    Hi All,
    Is it possible to change a template type of a region based on value of page item?
    For example, if I have a template type for Region A as Hide/Show region and template type for Region B as Hide/Show as well.
    I want the template type of Region B to be changed to a custom template type based on the value of an item in Region A.
    Is this possible?
    Appreciate your inputs.
    Thanks!

    spriya wrote:
    Hi All,
    Is it possible to change a template type of a region based on value of page item?
    For example, if I have a template type for Region A as Hide/Show region and template type for Region B as Hide/Show as well.
    I want the template type of Region B to be changed to a custom template type based on the value of an item in Region A.
    Is this possible?No. You'd either need to have 2 instances of Region B based on different templates, and render one of them conditionally according to the Region A value; or develop a single template with a structure flexible enough to be used in both cases, and change its appearance/behaviour by for example, swapping classes in a Dynamic Action.

  • Conditional formatting of a cell based on a value in another cell

    I want to change the color of the text in a cell based on the value in a different cell. How can I accomplish this?

    drmjdoyle,
    There Numbers User Guide, http://support.apple.com/en_US/manuals/#iwork, will show you how to do that. Also, doing a search in these forums will provide many hits answering your question.
    Click in the cell you want the color to change: click Format > Create custom cell format, in the first dropdown in that dialog box click Choose Rule, then follow the prompts.
    Cordially,
    RicD

Maybe you are looking for

  • A simple script for you, a giant script for me-

    I like scripts very much but scripting does not seems to like me! Can anyone help me and write a script for me? What I need is this: 1. Ungroup everything in a spread 2. A loop that goes through every text frame in the spread and, at the end of the t

  • Photoshop CC2014 and Windows 8 - click "drag" problem

    Hey there! So, I have recently started using the latest version of Photoshop CC2014 under windows 8.1 and I'm having this weird problem. I'm using a Cintiq 24HD touch with latest drivers, and touch disabled. I have also disable any kind of click and

  • How to control layout in SQL*plus command

    Hi, All, I use SQL*plus to generate a simple report BREAK ON <column1> duplicates skip page ON REPORT COMPUTE COUNT LABEL 'Total number of trader shown on this report for this :' OF <column2> On <column1> it shows '********' and '-------------------'

  • To get the configuration detials of a material from sales order

    Hi Gurus, I know we can get the configuration details of a material from Purchase order using function module 'ME_VAR_GET_CLASSIFICATION'. I need an equivalent function module for getting configuration details of a material from sales order. Is there

  • Save a single clip out of a file of multiple clips

    Hello:  I have a VHS video tape that was used to archive multiple scenes shot by a DV camera.  I can load the entire VHS tape as a single file into Adobe Premiere Elements 12 and have cut the source into multiple clips.  What I would like to do now i