columns

Check number of list items and columnize if condition exists

Example page: http://vincent-massaro.com/columns/columns.html On this page, there are two ordered lists, one with four items, and one with eight. I need to write a condition that checks how many list items are in each ordered list, and if it's more than four, split them into columns; if there are less than four, don't split into columns...

DataGridViewColumnCollection: count always 0

Hi, I use C# (winform, .net 2.0) to create a DataGridView programmatically to which I connect a BindingSource. Afterwards I want to change the column order (display index property) and the name of the columns (header text property). But when I try to access the column collection of the DataGridView, the debugger always tells me the colu...

Syncing column width of between tables in two different frames, etc...

For reasons which are somewhat unavoidable (lots of legacy code, compatibility, design needs) I have the following problem: I have two tables, one directly below the other, but split between two frames (see the pseudo-example below my sig.). I need the column widths of these tables to synchronize exactly so that these two tables 'act...

Finding unused columns

I'm working with a legacy database which due to poor management and design has had a wildgrowth of columns which never have been or are no longer beeing used. Is it possible to some how query for column usage? As in how often a column is beeing selected (either specifically or with *, or joined on)? Seems to me like this is something w...

How to hide column of devexpress XtraGrid

Hai all, Am using devexpress XtraGrid in C#.NET application.On run time i want to hide 1 column of XtraGrid and access that column in code behind page.And please help to access rows and columns of XtraGrid. Thank You ...

SharePoint Wiki Page - Hide Columns From Appearing on Wiki Page

I created a new SharePoint wiki library and I added additional columns to the wiki library to use as metadata to organize the pages into different views. The issue is now when I create a new wiki page, the added columns appear on the bottom of the page. Anyone know how to hide these columns from appearing on the wiki pages? Thanks ...

3 Column CSS Equal Height jQuery solution

Hey, I was working on a solution to my equal height three columns CSS equal height layout with jQuery, because the CSS workarounds were really giving me some trouble. I came up with the following code: $('.columns').css("height", "$('#detail').height()"); But for some reason, I don't see any effect when I reload my web page. I even ...

SharePoint 2010 Wiki page columns

I created a wiki page library in sharepoint 2010 and i added several columns to the library. Is there any way to get these columns to show up on each wiki page as they did in SharePoint 2007 ...

gnuplot ignores divisor of csv-column values

I am using gnuplot to draw a histogram of a series of RAM measurements I performed. However, I want it to display the values that are stored in Bytes in CSV files in KB. I divided the respective columns by 1024, but gnuplot simply ignores that. Below you see the template that is changed by a script to have meaningful file names for CSVF...

XCode: Setting up multiple UITableView columns

I haven't found a good answer to this, and I must be dense, but... I'm trying to get a table view set up with an image and a label in each row. The image would be an indicator image (New, In Progress, Stopped, Finished, ect.) and the label would be a particular issue name. I can set up the table view normally with one column, but I ca...

Divide entire column in excel (accounting) in 2 separate column (symbol + value)

how to divide excel field with format accounting omitted, for example: $ 220 € 140 $ 220 € 140 $ 220 € 140 $ 220 € 140 etc...etc... So, from one field-column A, to get 2 column A (for accounting symbol) and B (for value)? ...

Is there a jquery plugin that columnizes list items horizontally rather than vertically?

I'm looking for a jquery plugin or javascript that will columnize a list. I've seen Columizer, which is great and the configuration options are just what I need, except that it doesn't columnize data in the direction I need. My list: 1. 2. 3. 4. 5. 6. 7. 8. 9. Columizer behavior I want: 1. 2. 3. 4. 5. 6. 7. 8. 9. Columizer behav...

Do I need to use javascript to get fluid width columns and static width columns to share the same row?

I have a variable number of divs acting as columns, and I would like a variable number of them to have static widths (in pixels) and a variable number of them to expand to the remaining width in the window. If I make the fluid column widths combine to 100%, some columns will be squeezed out of the row - do I need to use javascript to sub...

SQLServer Calculate Average of Multiple Columns

Hi, I have generated a table using PIVOT and the ouput of columns are dynamic. One of the output is as given below: user test1 test2 test3 -------------------------------- A1 10 20 30 A2 90 87 75 A3 78 12 34 The output of above table represents a list of users ...

Oracle SQLPlus: Underline format when computing sum on multiple columns

Hello, I am computing the sum of multiple columns on the same break, but the output only displays a dash (-) underline between the last record and the column totals for a single column only...and it appears to always be the second column upon which the sums are being computed. Is there a reason for this and a way to apply the underline...

Mysql SHOW COLUMNS FROM Query????

show columns from (select * from (select * from my_table) as T) ????? I get a Syntax error... ...

Columns information in Active Record Models

Is there a gem or plugin, that can generate a Comments with columns names above the class definition in Active Record model? I'm pretty sure that I've seen something like this, but can't find it anywhere: Example: # columns Defs # name:string # user_id:integer # etc. class Post < ActiveRecord::Base end I could as well write something...

How to make the column auto resized corresponding to cells' values in that column?

Let's say we have the jqGrid in our ASP.Net MVC 2 application, e.g. Craig Stuntz's demo source code on his blog. I want to make to columns auto-resized but don't know how to do it. Please help! ...

CSS: Div not extending with child divs

Hi, I have a div which contains 3 columns (each as a div). The problem is that the height of the parent div is not extending with the height of the columns. Here are the styles in question: #content{ background: #fff; clear: both; color: #333; padding: 10px 20px 40px 20px; overflow: auto; } #leftcol { position:absolute; float:left;...

ASP.NET - sharing Columns between GridViews

Is there a way to define a <Columns> outside of a GridView in my .aspx file such that I can use those <Columns> in multiple GridViews in the same page? I have two GridViews that will have the same DataSource type, just with different content, and I'd rather not repeat all my customized TemplateFields in each. This seems simple enough, ...