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:

 

filter.png

 

i using code:

 

<elevati:filterrendererbase creationcomplete="list.setfocus();">

                                <mx:textinput id="list" width="200" restrict="^\\\&quot;" 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

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support