Hi
I am using filter feature of ultrawebgrid in my project. the requirement is to show the filter text in the filter cell as shown in the img
but when i am trying to edit this filter text, i am seeing a text value as show in pic below marked in red
I am seeing this because I am retaining the filter text by assiging it to the span element of the filtered cell but when i m trying to edit the filter text it still shows the filter text marked in red..i tried making the spanelement.style.dispaly = " none" which hides it on the double click event of the filtered cell. but after that i don't have any event to do spanelement.style.dispaly = " block" which should show the filter text back as shown in the previouse pic.
do we have any event like onblur for the textbox which privides the text editing for filter?
Again the requirement is to retain the filter text value across the postbacks. I am using ultrawwebgrid's server side filtering (The grid has paging enalbled on it.). I am also using the webdatagrid with client side filtering in it here it retains the filter text value it self...but for ultrawebgrid server side filtering the filter text is not maintained..may i know why is this so?...is there any other approach other than one which i am using.
In my approach i am getting the filter text value in a hidden field and assiging it to the span element of the filter cell...but i m facing the above mentioned issue.
Please reply help its urgent.
I have a similar requirement. Is there a solution to it?
Can someone please help on this?
Hi all,
In such a scenario, in order to make your filter text visible again you can make use of the AfterExitEditMode client-side event. This event is fired not only after a regular cell is edited, but also after a filter row cell is edited.
In the handler you can check whether the edited cell belongs to the filter row using the cellId parameter passed to the handler. You can check whether the row that the cell belongs to is of type filterRow. The type of the row can be accessed on the client using:
igtbl_getCellById(cellId).Row.Type
Please let me know if this helps.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://www.infragistics.com/support
Hey Petar,
Again thanks a lot man!! You really rock!! AfterExitEditMode resolved the issue!! Is there any site where we get the examples/samples for Ultrawebgrid 9.1 ?