Question about mx:TextInput and the side of a screen
hello guys,
i programming small software , need use text input in filter filter in grid table in right edge of screen. need 200 px in text input , need showed inside grid:
i using code:
<elevati:filterrendererbase creationcomplete="list.setfocus();">
<mx:textinput id="list" width="200" restrict="^\\\"" enter="click_filtrar()"/>
<mx:script>
<![cdata[
import mx.collections.arraycollection;
private function click_filtrar():void {
dispatchevent(new event('removefiltro_event', true));
var obj:object = new object();
obj.colunagrid = colunagrid;
obj.campo = "vendedor";
obj.condicional = " ";
obj.variavel = " \"" + list.text + "%\" ";
datagrid.arrfiltrosql.additem(obj);
datagrid.dispatchevent(new event('filtrargrid', true));
dispatchevent(new event('filtropersonalizado_event', true));
}
]]>
</mx:script>
</elevati:filterrendererbase>
can me making text input inside grid?
More discussions in Flex (Read Only)
adobe

Comments
Post a Comment