@namespace s "library://ns.adobe.com/flex/spark"; @namespace mx "library://ns.adobe.com/flex/mx"; @font-face { src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf"); fontFamily: MyVera; embedAsCFF: true; } @font-face { src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf"); fontFamily: MyVera; fontStyle: italic; embedAsCFF: true; } @font-face { src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf"); fontFamily: MyVera; fontWeight: bold; embedAsCFF: true; } @font-face { src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf"); fontFamily: MyVeraHalo; embedAsCFF: false; } @font-face { src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf"); fontFamily: MyVeraHalo; fontStyle: italic; embedAsCFF: false; } @font-face { src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf"); fontFamily: MyVeraHalo; fontWeight: bold; embedAsCFF: false; } .parent1 { fontSize: 32; color:#ff0000; } .child1 { fontSize: 12; color:#00ff00; fontStyle:italic; fontWeight:bold; } .child2 { fontSize: 24; color:#E851E3; } .mystyle1 { fontSize: 24; color:#0000ff; } s|DataGrid s|GridColumnHeaderGroup{ fontAntiAliasType: "normal"; fontFamily: MyVera; fontLookup: "embeddedCFF"; } .style1{ borderColor:#00ff00; contentBackgroundColor:#8DE851; alternatingRowColors:#77E851,#F00AE8; } global{ fontFamily: MyVera; fontAntiAliasType: normal; kerning: "off"; } testEditorsList.length) n=0; return testEditorsList[n].value; } /* * an itemEditor event handler for GRID_ITEM_EDITOR_SESSION_STARTING */ public function editStartingHandler(event:spark.events.GridItemEditorEvent):void { trace(event); gridItemEditEvent=event; if (cancelEditEvent) event.preventDefault(); } /* * an itemEditor event handler for GRID_ITEM_EDITOR_SESSION_START */ public function editStartHandler(event:GridItemEditorEvent):void { trace(event); gridItemEditEvent=event; } /* * an itemEditor event handler for GRID_ITEM_EDITOR_SESSION_SAVE */ public function editSaveHandler(event:GridItemEditorEvent):void { trace(event); gridItemEditEvent=event; } /* * an itemEditor event handler for GRID_ITEM_EDITOR_SESSION_CANCEL */ public function editCancelHandler(event:GridItemEditorEvent):void { trace(event); gridItemEditEvent=event; } /* * an event handler for double click when doubleClickEnabled=true */ public function dbtClickHandler(event:Event):void { trace(event); dbClickEvent=event; } /* * this method is hook up an itemEditor event handler with itemEditor event type */ public function setDGEditEventHandlers(dg:DataGrid, eventType:String, eventHandler:Function):void { dg.addEventListener(eventType, eventHandler); } ]]> ProductD ProductP ProductF ProductT ProductC ProductD ProductP ProductF ProductT ProductC