filtering

DataGridView save filtering after reload

Hi, I have some problem with DataGridView in C#. case is: I do some update on database then I reload DataGridView with new values: myDataGridView.DataSource = myDataSet.Tables[0] Everything is ok, but recently I was asked if there is possibility to keep the same column filtering applied after reloading data? What would be approach...

How do I handle large amounts of logfile data for display in dynamic charts?

I have a lot of logfile data that I want to display dynamic graphs from, for basically arbitrary time periods, optionally filtered or aggregated by different columns (that I could pregenerate). I'm wondering about the best way to store the data in a database and access it for displaying charts, when: the time resolution should be varia...

Jquery + Dynamically filter table data

Hi, I have a table developed using jtemplates. The table has 5 columns. Lets say C1....C5. I need to have a filter below each header which can filter the table data. There are a lot of plugins to do this and currently I am using PicNet table filter : http://www.picnet.com.au/picnet_table_filter.html The trouble is, that whenever the u...

Using Multiply Accumulate Instruction Inline Assembly in C++

I am implementing a FIR filter on an ARM9 processor and am trying to use the SMLAL instruction. Initially I had the following filter implemented and it worked perfectly, except this method uses too much processing power to be used in our application. uint32_t DDPDataAcq::filterSample_8k(uint32_t sample) { // This routine is base...

how do i filter out non-numeric values in a text field in teradata?

hello all, I have a teradata table with about 10 million records in it, that stores a numeric id field as a varchar. i need to transfer the values in this field to a bigint column in another table, but i can't simply say cast(id_field as bigint) because i get an invalid character error. looking through the values, i find that there co...

How can I provide dynamic filtering on an entity collection?

Good day, I have a class ShipmentsCollection that inherits ObservableCollection which contains shipment objects (entities). This is displayed in a listbox on my ShipmentsView UserControl. My intent is to allow a user to type into a textbox above the list and filter the list with items that contain that string, as well as filter based ...

Android adb logcat time filter

Does anyone know how to filter out the logcat ('adb shell logcat') so that it only shows the log statements after current date and time ? Thanks in advance. ...

String similarity algorithims?

I need to compare 2 strings and calculate their similarity, to filter down a list of the most similar strings. Eg. searching for "dog" would return dog doggone bog fog foggy Eg. searching for "crack" would return crack wisecrack rack jack quack I have come across: QuickSilver LiquidMetal Do you know of any more string simila...

What's a good way to filter data based on values that match the right of the decimal place?

Let's say I have the following data in a decimal (18,9) identity column in a database table: ID ======== 1000.00 1001.23 1002.00 1003.23 I want to write a SQL query that returns only those records that have .230000000 for the right side of the decimal place, such that only the following are returned: 1001.23 1003.23 I know I could ...

What's the best T-SQL syntax to filter for an ID that has a count of X or at least X or at most X in a joined table?

What's the best way to do something like this in T-SQL? SELECT DISTINCT ID FROM Members, INNER JOIN Comments ON Members.MemberId = Comments.MemberId WHERE COUNT(Comments.CommentId) > 100 Trying to get the members who have commented more than 100 times. This is obviously invalid code but what's the best way to write this? ...

Changing values from Cursor using SimpleCursorAdapter

Hey guys!! I have database table with the columns {Name, Time (UTC format) , Latitude, Longitude} I display the table using a ListActivity with a SimpleCursorAdapter. I would like that the column Time show the time in a human readable format (13-07-2010 10:40) rather than in UTC format (18190109089). How can I specify that the values...

Filter json data using jquery?

My json data looks like this, {"Table" : [{"accid" : "13","accname" : "Default","accountType" : "Default", "noOfEmployes" : "","phone" : "","revenue" : "","webSite" : ""}, {"accid" : "15","accname" : "karpagam","accountType" : "Customer", "noOfEmployes" : "60","phone" : "9894606677","revenue" : "","webSite" : ""}, {"accid" : "14","accna...

ExtJS - Progress Bar Pager with extension Ext.ux.grid.FilterRow

Hello, I'm trying to add in Progress Bar Pager the extension "Ext.ux.grid.FilterRow". It works good but the FilterRow is available only for the grid records in the select page. Is it possible to filter all the grid records and not only the records shown in each page? I show you what I've done. This is my php page: <html> <head> <...

Adding a filter header row to ExtJS GridPanel

Hi ! I know that it's possible to add a filter row UNDER the column title because I've seen it done with Coolite. But since I'm a total newbie with Sencha (ExtJS), I have trouble finding how to do it with the ExtJS.grid.GridPanel directly in the script. Would you point me in the right direction with some samples please ? If possible, I...

Caching URLs without Ad content

We want to cache the URLs typed in/visited by the user and we are trying to do this by logging all the http GET requests. We realized that there will be multiple GET requests from the same page (both for page content and ads). However, we want to cache only the primary GET. One idea is to cluster the GET requests in time and use the firs...

My properties are not injected in my perso-servlet.xml (Maven2)

I don't understand why my properties are not injected in my perso-servlet.xml : <!-- Facebook OAuth helper --> <bean id="FacebookOAuthHelper" class="com.myapp.businessservices.common.facebook.FacebookOAuthHelper" p:apiKey="${facebook.apiKey}" p:secretkey="${facebook.secretkey}" p:clientId="${facebook.clientId}" p:permis...

ExtJS - GridPanel with Ext.ux.grid.FilterRow and Ext.PagingToolbar

Hello, I've add "FilterRow" plugin to a GridPanel with PagingToolBar. The Grid works good except for this issue: if I try to sort or filter a column the grid generate this POST variables --> sort, dir and all my filters enabled. Instead if I try to go to next page this POST variables --> sort, dir, start, limit. If I try to scroll pages...

Getting jquery.validate { ignore: } to work for fieldset contents

I'm using the jQuery.validate() plugin for a form. However the form contains a fieldset (which is hidden, and used as a template for adding rows to the form) which I don't want to be validated. The fieldset will be named something like organisation_contacts_tmpl_33 with the invariant being the _tmpl_ part. I've tried: $('#myform').valid...

Java extended collection filtering

I have to filter and to sort a ArrayList wíth objects. - Every object has 2 integer pairs => 4 ints per Object. - Every value of Column_1 < Column_2 and - Every value of Column_3 < Column_4. ... so each pair represents a distance. 1.) Distance in 1st(Column_1,Column_2) pair and 2nd(Column_3, Column_4,) pair have to be equal. 2.) if t...

Iterating and processing an ArrayList

I have a List of objects. I want to iterate through this list of objects and process some subsets of objects based on a condition and finally create a new list of objects with some processed objects being eliminated. What is the best way to do this.? Example: Actual object : List<Cars> Iterate through this list and find Cars with sa...