FAQ Database Discussion Community


FX - Suggestions for aligning CheckBox in Grid

java,checkbox,javafx,grid,alignment
Converting from Swing to FX here. We have some CheckBoxes where the Label appears on the left side of the CheckBox. We are accomplishing this by calling setNodeOrientation(NodeOrientation.RIGHT_TO_LEFT); The problem is that in some GridPanes, we'll have a Label in column 0 with a Node in column 1 on row...

WordPress Loop to dynamically close Bootstrap rows

php,wordpress,twitter-bootstrap,dynamic,grid
I'm pretty new to PHP but I have built some fairly simple WordPress themes in my time. I'm trying to make something unique and I'm not sure how to accomplish it (or if it's even possible). My goal is to create a loop that will dynamically close rows when it...

Bootstrap Grid Responsive break row

css,twitter-bootstrap,grid,line-breaks,dynamic-columns
I'm currently working with bootstrap grid system and got the following problem: I got components that stack together in 4 columns when > tablet. and in 2 columns when < tablet. Some of the components are with Links and some without. <div class="col-xs-6 col-md-3"> <p><img src="http://www.photoshopbuzz.com/wp-content/uploads/2011/11/red-stitch-icon-122-bebo.png" alt="" title="" class="easy-icon" /></p>...

Add rows to grid in extjs dynamically

json,extjs,grid
I have a grid with one column 'name' which is empty in the start. I also have a JSONObject within which there is an array of fields. I now need to add each field name as a row in the grid dynamically (since the JSONObject I am receiving via REST...

How to call custom js function on scroll in Dojo OnDemandGrid?

javascript,dojo,grid
We are using dojo OnDemandGrid. I need to call a js method when I scroll down and more records are loaded in the Grid. This is what I have tried so far. aspect.after(grid,"dgrid-refresh-complete",function(){ }); grid.on("dgrid-refresh-complete", function(event){ }); ...

bootstrap grid layout questions

grid,bootstrap
http://i.imgur.com/QwbEHp5.jpg is there anyway to achieve the responsive grid layout above using bootstrap? i not sure whether this is the correct way to do it? <div class="container-fluid"> <div class="row"> <div class="col-md-6"><img src="http://s27.postimg.org/twfuw219f/256x256.jpg"></div> <div class="col-md-6 col-sm-3"><img src="http://s8.postimg.org/w0dxtotv9/256x120.jpg"></div> <div class="col-md-6 col-sm-3"><img...

How to add a separator space between rows on custom Xamarin.Forms ViewCell?

c#,listview,grid,xamarin.forms,custom-cell
In this question on Xamarin Forums https://forums.xamarin.com/discussion/20517/curved-corners-in-tableview-cells Craig Dunn teaches how to create a cell with frame. I want to Add a space between each cell. At present the cells seems glued, and the ViewCell doesn`t have a space property. Thanks!...

How to adjust grid lines in R's barplot?

r,grid,bar-chart
I am using grid() inside of barplot() (using the panel.first argument) to draw the grid lines. However, the grid lines do not match the ticks of y-axis. Can anyone tell me how to solve this problem? My code is like below, thanks. WRE <- c(1423, 41721) bp <- barplot(WRE, xaxt...

Floating block collapse

html,css,grid
I make grid system and i have encountered "strage" behaviour of block for example HTML: <div class="l_row"> <div class="l_cell"></div> <div class="l_cell"></div> <div class="l_cell"></div> <div class="l_cell"></div> </div> CSS: .l_row { min-width: 0px; width: 100%; max-width: 100%; margin: 2rem auto; } .l_row:before, .l_row:after { content: " "; display: table; } .l_row:after {...

Bootstrap columns stacking vertically and not horizontally

css,twitter-bootstrap,grid
I have a row divided into 3 columns using col-sm-4. Now i expect this row to be divided horizontally into three parts. But it's divided vertically. See on Jsfillde Here's my code <div class="container"> <div class="row" style="padding:13px 15px;"> <div class="pull-left span4"> <a href=""><img src="themes/custom/img/logo.png" width="120" alt="logo"/></a> </div> <div class="pull-right span4">...

Center 3 Column Grid Inside 100% Width Div

css,layout,grid
I have a 3 column grid, which is sitting inside a 100% container div. But as of now it is just being pulled all the way to the left side of the page. I want the three columns to be div to be centered inside the container. Here is a...

I can't find an elegant way to add a Database Source to a dgrid

javascript,dojo,grid,dgrid
For now I have require([ "dojo/on", "dgrid/OnDemandGrid","dgrid/Tree","dgrid/Editor", "dgrid/Keyboard", "dojo/_base/declare", "dgrid/data/createHierarchicalStore", "data/projects_data", "dojo/domReady!" ], function( on, Grid, Tree, Editor, Keyboard, declare, createHierarchicalStore, hierarchicalCountryData ){ var count = 0; // for incrementing edits from button under 1st grid function nbspFormatter(value){ // returns "&nbsp;" for blank content, to prevent cell collapsing return value...

Grid with rows in anchor not visible in GWT (UIBinder)

java,html,gwt,grid,uibinder
In my GWT application in a composite class I am creating a Grid UI binder. In each cell of the grid I am adding an anchor UI Binder. When I load this page in the application, I see a table created but the anchor not visible. When I insert text...

Layout controls of a large form centered individually per each row size

asp.net-mvc,twitter-bootstrap,razor,twitter-bootstrap-3,grid
I have a form that contains a large amount of fields a user have to fill. I want to group them 2-4 in a row. Each control may have different size and the labels should appear to the control's left. The controls should be centered horizontally, and shouldn't take up...

How to get data from grid

grid,livecode
How to see the content in hilightedline in data-grid? put the dgHilitedLine of group "DataGrid" into theLine answer dgLine[theLine] if the value of "theLine" is 5 then, How to get the text in the highlighted field in the grid. ...

Getting all rows pre-selected by default in magento admin grid

php,magento,grid
I am getting all the rows pre-selected by default on page load in magento admin grid. Due to this when I select fields and apply mass action error appears i.e. 'Please select items.' For reference please find the snaps below: All Fields are selected : Still getting error: Any Kind...

infinite two column div grid html css

html,css,grid,two-columns
HELP I would like to create an infinite two column grid. It will automatically arrange div in two columns. For example I have 10 divs, I would like to arrange the into two columns and five rows. For eleven divs, I would like to still have two columns, etc. Thank...

ExtJS sort grid column of string as float

javascript,string,sorting,extjs,grid
I have a grid with a column that renders a float record field as a String. So, when I sort the column, this it's sorted with the String format and therefore, in a wrong way: I've tried different solutions. The one that I understand it should works is the use...

CSS Specificty Issue - Grid inside Grid

html,css,grid,css-specificity
Is there a way to adapt the Specificity of classes to allow the use of a grid system as seen in this example? .col3 .width1 { background:blue; } .col4 .width1 { background:red; } <div class="col4"> <div class="width1"> <div class="col3"> <div class="width1"> <p>Test</p> </div> </div> </div> <div> Seen in this FIDDLE...

Issue with Rad grid inside Rad Ajax panel row edit not firing

ajax,telerik,grid,panel
I'm facing a problem with Rad Gird inside Rad Ajax Panel First in kept my RadGrid inside asp:panel here is works fine <asp:Panel ID="Panel1" runat="server"> When i replace asp:panel with RadAjaxpanel edit and add buttons are not working Here is my code <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> </telerik:RadScriptManager> <telerik:RadAjaxPanel ID="div" runat="server" EnableAJAX="true"...

Boostrap 3 - col-md-4 to col-sm-6, or grid of 3x2 to 2x3

css,twitter-bootstrap,layout,twitter-bootstrap-3,grid
How can I change a grid of 3x2 to 2x3 without having an empty space where one row ends and another starts? For example: <div class="row"> <div class="col-md-4 col-sm-6"> content </div> <div class="col-md-4 col-sm-6"> content </div> <div class="col-md-4 col-sm-6"> content </div> </div> <div class="row"> <div class="col-md-4 col-sm-6"> content </div> <div...

Best approach to implement this design [ios]

ios,uitableview,design,grid,uicollectionview
What would be the best approach to implementing a design like the one below? Couple of things: Level cell can fall between any 4 cells on the grid Whole board is scrollable I'm leaning toward UICollectionView but I'm not exactly sure how to do the "level cell." One of the...

How to fix image size in Windows Phone 8.1 grid column?

xaml,listview,layout,grid,windows-phone-8.1
I have listview with the following grid as an itemtemplate: <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /> <ColumnDefinition Width="2*" /> </Grid.ColumnDefinitions> </Grid> And I have an image as first column content and a text as second. These resources loads from internet and while image is not loaded first column has no width....

How to add a listener in a particular cell in a grid in GXT

grid,listener,gxt
I would like to add a listener when I am clicking the cell for categories only. this is the declaration of my columnConfig ColumnConfig<UserRights, Boolean> unlockConfig = new ColumnConfig<UserRights, Boolean>(properties.hasUnlock(), 50); unlockConfig.setHeader("Unlock"); cfgs.add(unlockConfig); ColumnConfig<UserRights, String> catConfig = new ColumnConfig<UserRights, String>(properties.categories(), 150); catConfig.setHeader("Categories"); cfgs.add(catConfig); cm = new ColumnModel<UserRights>(cfgs); grid = new...

Magento Module Custom Grid Not working

magento,grid
Hi i am working on one module which collects data from custom table and display in grid in grid user can add and edit content. but that module working fine offline ( MAMP ) but when i pull to magento online ( linux ) then stops working. here is screenshot...

Update model of a grid store on the fly

extjs,model,grid,store,extjs5
A grid is configured with a store that use a model that I can call modelA I need to change on the fly the model of the store related to the grid. I followed following approach without results: grid.getStore().setModel(modelB); grid.reconfigure( grid.getStore(), columns ); grid.getStore().load(); It continues to use the model...

Tkinter Radiobutton fills multiple rows when using widget.grid()

python,tkinter,grid,row
I'm having some trouble properly gridding these Radio Buttons alongside other widgets. The Radio buttons never go into the row specified, sometimes being placed in the middle of several rows. I'm trying to get Radio buttons "One" and "Two" in line with Buttons "Quit1" and "Quit2". from Tkinter import *...

Button not being displayed when using pack()

python,python-3.x,tkinter,grid,pack
I am trying to create a GUI application (just starting), but I have run into a problem. When i use .pack() (which i need to use) the button is not getting displayed, but if i use .grid(), it does display. This is the code: class TemperaturePlotApp(tk.Frame): def __init__(self, parent, *args,...

Rotate a grid of points in C++

c++,math,rotation,grid,geometry
If i had an array of point structs defined as struct Point{ float x; float y; }; How would I rotate the points in this array by a given angle? As an example: Any help would be appreciated!...

How can I arrange (different) squares in a grid correctly?

html,css,layout,grid
My standard layout (minimum width 1024px) has 4 rows. The first and the last one has 6 squares and in the middle there are two combined squares. But the first square in the third row is missing. I didn't make it with different CSS settings. I have tried clear: both...

yii2 create view to display model

gridview,grid,yii2,master-detail
I'am trying to implement the demos.krajee.com/grid-demo in a project but i am getting stuck creating the grid for the detail view. It is a grid and when use the expandRow functionality of the extention I need to get all the related records from another table base in the id (master...

RowSpan and ColumnSpan in Xamarin Forms

c#,layout,grid,xamarin.forms
Is there anyone out there who can explain to me how rowspan and columnspan in Xamarin Forms? The parameters right, left, top, bottom are a little bit confusing. Lets use this code snippet for rowspan: grid.Children.Add(new Label { Text = "Span two rows (or more if you want)", TextColor =...

how can I add a column to IQueryable object and modify its values

c#,.net,linq,grid,devexpress
var packs = from r in new XPQuery<Roll>(session) select new { Number = r.number Selection = new bool() }; gcPack.DataSource = packs; I want to add another column to my grid control with: Selection = new bool(). It will be added to the grid but I can't change its...

Magento Add telephone no in order grid using event observer

magento,events,grid,order
I want add Telephone no of customers that is used in order -> shipping or billing. in order grid. I can add the title in grid but I don't know how get the phone no. The event that used for this is sales_order_grid_collection_load_before. Even I can't get order id using...

WordPress expanding grid with thumbnail

javascript,css,wordpress,grid,expand
I'm using codrops solution to display team members in an expanding grid: http://tympanus.net/codrops/2013/03/19/thumbnail-grid-with-expanding-preview/ I was already able to change some code to display my post thumbnail in the grid preview. However, I want to display the same picture in full size in the expanded view. In the original version it...

Display hidden row in asp.net mvc grid

asp.net-mvc,grid
I have made grid with html table tag .in one of TD tag I have this code <td> <a onclick="$('#lightBox').css('display','inline')"></a> <div style="display: none" id="lightbox"> <%--<%Html.RenderAction("LightBox","PremiumSharingAdmin",new {historyId = premium.SharingPremiumHistoryID}); %>--%> <img src="Storage/Images/<%=premium.SharingPremiumHistoryID %>.jpg" title="image" width="100" height="100"/> <div> <textarea readonly="readonly"> <%= premium.Content %>...

Why Susy gives 49.15254% in output CSS instead of 50%?

css,grid,sass,frontend,susy-compass
I've made decision to get started with Susy, because I wanted good framework just for grids. Unfortunately I found myself trying hard to make exact what I want. After all I want to know why Susy gives so strange math rules. There are my Susy's simple setings: $susy: ( columns:...

extjs record destroy by desired property

javascript,ajax,extjs,grid,record
I'm developing Exjs mvc application. I have an Extjs model : Ext.define('JC.model.File', { extend: 'Ext.data.Model', fields: [ {name: 'id', type: 'int'}, {name: 'fileName', type: 'string'}, {name: 'fileSize', type: 'string'}, {name: 'position', type: 'string'} ] }); and a store: Ext.define('JC.store.Files', { extend: 'Ext.data.Store', model: 'JC.model.File', proxy: { url: JC.Util.createUrl('upload/getfiles'), type: 'ajax',...

Bootstrap width alignment of elements

html,css,twitter-bootstrap,grid
I need to arrange an bootstrap input-group and a pill navbar as following: http://picload.org/image/cwgpppp/bootstrap.png The input-group should have the width of the navbar which is dynamic and depends on the wording of the navbar. My html structure looks like this: http://www.bootply.com/efEXkT1CSR I have no clue how to achieve that. Hope...

How do I calculate the distances between a varied location and fixed coordinates?

matlab,grid,coordinates,distance
I have four supply stations (S1, S2, S3 S4) and End Point (EU) with fixed coordinates on a grid as follows. % Grid Definition n = 10; % Number of grids in the x-direction x = 50; % Dimension of a grid in the x-direction k = 8; % Number...

How can I make items snap to a grid? [closed]

jquery,html,grid
I want to make items in a table draggable, but they have to also snap to a grid. If the items are different sizes, how can I manage that? It would be best if I can do it with jQuery. Edit: I have a 3 x 4 table, and each...

Bootstrap grid 3x3 to 6x2 to 9x1

html,twitter-bootstrap,grid
Is it even possible and how can I create a bootstrap grid that's 3x3 for md columns. 6x2 for sm columns and 9x1 for xs columns? 3x3 to 9x1 seems to be easy. <div class='container-fluid'> <div class='row'> <div class='col-xs-12 col-md-4'>1</div> <div class='col-xs-12 col-md-4'>2</div> <div class='col-xs-12 col-md-4'>3</div> </div> <div class='row'> <div...

PHP Widget layout grid

php,twitter-bootstrap,grid,widget
I'm building a webapp which main purpose is displaying widgets on a display. These widgets have an variable size, so not every widget is even high or wide (But they are using standards like for example a grid system). Now I'm looking for the best way to save which widgets...

R multiplot write plot to file grid package

r,plot,grid
I have a function to create a multiplot (plot with many sub plots) and to write it to file. multiplot <- function(plotlist=NULL, cols) { require(grid) # Make a list from the ... arguments and plotlist plots <- c(plotlist) numPlots = length(plots) # Make the panel plotCols = cols # Number...

How to position a button using grid row and column definitions?

xaml,button,grid,position,windows-phone-8.1
I've set up a Windows Phone 8.1 project and right now I'm trying to place a button, in the centered horizontally near the bottom of the layout. So far I've figured out the following to center the button on the layout, but the Grid.Row setting doesn't seem to have any...

Find the perimeter of a subset of a near-regular grid of points

r,grid,computational-geometry
Let us consider a set of near-regular grids in 2-D. These grids are adjacent (neighbouring grids have one or more same vertices) to the neighbouring grids. Here are the sample of 10 grids with the coordinates of the vertices (longitude,latitude) are as follows A<- lon lat [,1] [,2] [1,] 85.30754...

Yii2 saving form with multiple models

forms,grid,yii2,yii-extensions
Hi I am very close to finish a project but got stuck saving a from with multiple models. I have a grid that calls a controllers action that calls a form. public function actionToday() { $ID = $_GET["0"]; $modelCustomers = Customers::find()->where(['ID' => $ID])->one();; $today = date("Y-m-d"); $beforeToday = 'DropinDate>'.$today; $modelAttendance...

Grid and Pack in Main and Class?

python,tkinter,grid,pack
I have just moved my layout in Tkinter from pack to grid. This is going well. I made the mistake of using pack and grid together in my Main function. I fix it and not only using grip. But I realized that I am still using pack inside a class...

how to implement in ExtJs different number of columns in different rows

extjs,grid
is it possible to do this in extjs grid? I couldn't find how to do it... My Grid suppose to have row of 5 columns row of single column row of 5 columns row of single column...

How to evenly distribute a set of list boxes over a grid?

listview,grid,position,windows-phone-8.1
I'm setting up the View for an application, but I want to distribute the 12 list views evenly over the grid container. At the moment some of the boxes are spaced unevenly in comparison with others, also I'd like to do this without using margins. I've managed to position the...

yii2 populate grid with record from another table

php,grid,left-join,yii2
I am trying to show fields from another model in grid but I can't get it working. I have 2 tables: Customers and Attendance and I need to bring only today's attendance for each customer. From attendance I am trying to get the field attendance.doctor In the grid I am...

web2py SQLFORM.grid () get field values on process

sql,forms,grid,web2py
on my edit/add page for SQLFORM.grid I would like to get the values of some fields on process. In case this value in combination with another field (userid) already exists user has to be notified about it. any suggestions?...

jQuery Custom Grid like masorny layout

jquery,grid,order
I am trying to make a custom grid like masorny layout for a web site, so i thought for approaching a layout like masorny with 3 columns to create 3 div's that will work as the parent divs and inside to append the children div's depends on id number. The...

Programming a robot to explore a grid [closed]

java,performance,grid,robot
In my project I'm simply trying to make a robot which explores as much of the grid as it can, without taking the same path twice. Also, it has a sensor to see if an object is lying in its way(the object can only be in a corridor). But I'm...

horizontal image rows with variable height

html,css,grid,gallery
I want to make a justified image gallery with fixed width images of variable height. Unfortunately I can only find justified galleries with fixed heights. When fixing the width instead of the height, white-space appears between the images vertically. current situation: http://redbird.driesbos.com/justified.html should become: http://www.redbird.driesbos.com/Capture1.jpg HTML <section id="justified"> <a href="project-page1.html">...

Convert Grid square numbers to coordanates

javascript,arrays,grid,coordinates,converter
How in JavaScript, would I convert a grid square number on, say a 4x4 grid, and easily convert it to grid coordinates? (Example: grid square #6 -> 2, 2) ^ = selected square [][][][] [][^][][] [][][][] [][][][] So basically, how do I (quickly?) convert a grid number to two coordinates....

Insert element as second to last in JQuery

javascript,jquery,grid,selector
I have built a grid of elements using the Gridly library and want the last element to be a button that allows more to be added. Each time this button is clicked, it should add a new element as the second to last, where the button to add more remains...

Get information from button

c#,.net,wpf,button,grid
I have a WPF application with a grid. There are rows and columns, at the end of each row I have a "Click me" button. How can I get information where pressed button? I want to display information from row, after the button has been clicked....

Dynamic Grid CSS

html,css,layout,grid
How do I achieve a dynamic grid that looks like this ? : I cannot figure out how to properly construct the css to achieve this. Currently, this is what my grid looks like: Here's a fiddle where I have been trying to solve this: http://jsfiddle.net/qqeo9ety/2/ Here's my current css:...

How Do I Cause Renderer to Show Cue Banner When Text Reverted to Blank?

extjs,grid
I have a renderer set up on my Sencha Ext.JS 3.4 EditorGridPanel. I allow the user to click a button, add rows and fill in various cells in those rows, and I set up a cue banner to show some useful text as soon as a blank row is added....

gap between lines in javascript grid

javascript,css,for-loop,grid
i made a grid using two javascript for loops, for some reason i have a fixed gap between the lines in the grid. i can't understand what couses the gap. here is what i did. var length = 100; var text = ""; var i; for (i = 0; i...

Databinding within Cell templated Devexpress:GridControl not working

c#,wpf,grid,devexpress,gridcontrol
I try to bind a List property SubscribedSymbols within a class object StrategySubscription as part of List to comboboxes in each cells of a specific column in a Devexpress GridControl but cannot get the data binding to work. The auto column generator works and populates values onto the grid. So,...

How to fillRect canvas grid cell depending on mouse position?

javascript,canvas,grid,position,mouse
I've pretty code about grid parameters depending on mouse coords. CANVAS GRID DEMO HERE I want to clear filled, selected(imoX/imoY) cell while mouse is outside the selected(imoX/imoY) cell. It should be like: onmouseover[CellNumberX] = fillRect() onmouseout[CellNumberX] = strokeRect() Any solutions ? Thanks....

CSS: How to add classes to existing grid that allow skipping columns on the left side

css,gridview,grid,col
I am trying to set up a simple column grid without the use of a library. So far I have the below which works as intended (at least good enough for me to learn). What I couldn't figure out is how I can set a class style to skip a...

Reload grid selection after deletion of row in extjs

extjs,grid,refresh,panel
I have a grid with one column, which when the user selects, is used to display information in various textfields, checkboxes which are embedded in a panel on the right. I have implemented a delete feature at the row level in the grid. Now I wish either of these two...

ExtJS 5.1 - Grid with gridfilters plugin breaks after grid.reconfigure

javascript,extjs,grid,extjs5
I'm migrating some ExtJS 4 stuff to ExtJS 5.1. I have a grid that gets it's metadata from the server and reconfigures the store on the metachange event: store: Ext.create('Ext.data.Store', { model: 'MyModel', listeners: { metachange: function (store, meta) { this.grid.reconfigure(store, meta.columns); }, scope: this }, proxy: { type: 'ajax',...

WPF Grid transparently sharing it's layout to children

c#,wpf,layout,grid
Group box inside the grid is a common layout scheme in WPF applications. Once I had to position several groupboxes inside grid one per each row. Despite of different groupboxes, elements that are inside of those groupboxes must be positioned uniformly according to the grid columns so that the design...

Height image by heights textblock

c#,wpf,grid,textblock
I have image and 3 textblock. I want place image left and 3 TextBlock in rows right. I've tried this: <Grid x:Name="Grid"> <Grid.ColumnDefinitions> <ColumnDefinition/> <ColumnDefinition/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <Image Grid.RowSpan="3" Source="image.jpg" Stretch="Uniform" HorizontalAlignment="Left" VerticalAlignment="Top"/>...

Kendo UI Grid Read Action Parameters not Work

javascript,parameters,kendo-ui,grid
Work .Read(read => read.Action("Evento_Read", "Eventos", new { dataInicial = new DateTime(2014, 10, 13), dataFinal = new DateTime(2015, 10, 13) }) Not Work .Read(read => read.Action("Evento_Read", "Eventos").Data("additionalParam") <script type="text/javascript"> function additionalParam() { return { dataInicial: new Date(2014,10,13), dataFinal: new Date(2015, 10, 13) } } Grid Code @(Html.Kendo().Grid<Evento>() .Name("eventoGrid") .Columns(columns => {...

ExtJs4 Change Field color on Statuscode

extjs,grid,extjs4,field,cell
Hello im struggling with ExtJs im Trying to change color in ExtJs grid where cell name is 'statuscode' if statuscode is 1 the cell has to change color in green! anybody an idea? Thanks Ext.define('Shopware.apps.ArticleUpdateLog.model.ArticleUpdateLog', { extend: 'Shopware.data.Model', configure: function () { return { controller: 'ArticleUpdateLog' }; }, fields: [...

Zurb Foundation grid or block grid not working with vertical tabs

html,tabs,grid,zurb-foundation,zurb-foundation-5
I have a set of vertical tabs, and when I try and nest in some grid or block grid elements everything seems to overflow outside of the element i.e the 1,2,3 should be in the right section of the below image <div class="row"> <div class="medium-8 columns"> <ul class="tabs vertical" data-tab>...

Keyboard navigation in WPF grid using arrow keys

wpf,grid,keyboard-navigation
I have a grid which contains a number of textboxes. I want to move from one text box to other using up/down/left/right keys. I have tried setting KeyBoardNavigation.DirectionNavigation property on the grid but it doesn't work. However the Tab navigation is working fine. Any suggestion please.

How to left justify Python tkinter grid columns while filling entire cell

python,python-3.x,tkinter,grid
I'm trying to write a python class to display data in a tabular format. I'm sure there are classes out there already to do the same thing, however, I'm using this exercise as a way to teach myself Python and tkinter. For the most part, I have the class working...

How change the property of gridslide

jquery,grid,styles,photo,jssor
I changed the property in .js end style but I not have success I need help. The grid is this http://www.jssor.com/demos/grid-slider.html I need it to full screen....

Generate SQLite data as button (SWT)

java,user-interface,button,grid,swt
I need to generate buttons from SQLite data, but on 100% size like this image: The problem is that my main layout is absolute :( TabFolder tabFolder = new TabFolder(shell, SWT.NONE); //tabFolder.setLayout(new GridLayout()); tabFolder.setBounds(10, 319, 740, 342); TabItem tbtmPizzas = new TabItem(tabFolder, SWT.NONE); tbtmPizzas.setText("Members"); Composite composite = new Composite(tabFolder, SWT.NONE);...

Missing Custom Annotation Grob in ggplot2

r,plot,ggplot2,grid
I was trying to add a custom text annotation grob to my plot according to the website http://zevross.com/blog/2014/08/04/beautiful-plotting-in-r-a-ggplot2-cheatsheet-3. I am using this technique so that I can add the text a normalized coordinates. When I add the grob the text does not appear on the plot. I had used this...

Java Move to new row if all columns filled grid

java,grid
I am trying to make a list of buttons which are created dynamically. I am arranging them using GridLayout. I want that, if the buttons number exceeds a particular number like 12, then the row must change i.e. in the every row there will be 12 buttons. String[] linesArray =...

CSS Container Width

css,css3,grid
If you do the math, the container is 946px / 5 (columns) = 189.2px. I don't see how they have managed to fit five columns in without extra space left over? Can be viewed here (1200px view). ...

How can i get available height in kendo grid ?

jquery,kendo-ui,grid
How can i get available height in kendo grid ? That means I am adding items dynamically to the grid, So i need height of the grid dynamically

Sharing column width between grids defined in a template

wpf,layout,grid
I am trying to layout a couple of controls: The light gray vertical lines are grid splitters. Each line in this table is a grid with three columns, the label on the left, the splitter in the middle and the control on the right, including the text boxes and the...

Vaadin beanItemContainer property is array: how to get the data from the array

arrays,grid,vaadin
I want to get data from an array into a vaadin grid. Here are some relevant parts of my code: From the Grid's builder-class Grid grid = new Grid(); for(int i = 0; i<numberColumns; i++){ String propertyId = "deliveryList[" + i + "]"; grid.addColumn(propertyId); } In the base class: public...

Make Matlab Grid Lines More Visible

matlab,grid
The grid lines in Matlab 2014b are thin and light, which makes it difficult to see. Is it possible to increase the visibility of the Matlab grid lines?

Devexpress pivotgrid Customization CustomizationFormStyle

forms,grid,devexpress,pivot,customization
I show fields in customization form. I choose Excel2007 as CustomizationFormStyle but I would like to show just Filter area. I want Column, Row and Data area to be invisible. How can I manage this? pivotGridControl1.OptionsCustomization.CustomizationFormStyle = DevExpress.XtraPivotGrid.Customization.CustomizationFormStyle.Excel2007; pivotGridControl1.OptionsCustomization.CustomizationFormLayout = CustomizationFormLayout.BottomPanelOnly1by4; pivotGridControl1.OptionsCustomization.CustomizationFormAllowedLayouts =...

What Cell,Table can I use to create a grid of only images in every cell, in GWT?

css,gwt,web-applications,grid,cell
I need to create a GWT application that handle the buying of films. So I have to show in a grid (not in a list, I don't like the view) these cell containing image and info about the film like this:( http://static.ipaditalia.com/wp-content/uploads/2012/11/mzl.sckskoqz.480x480-75.jpg ). I think that I need of a...

grid layout with padding/margin between items

html,css,css3,grid
How to add spaces (padding), between items on a grid layout? I tried add the padding to div but the spaces are not equal. div{ width:calc(100% / 3); padding:10px; box-sizing:border-box; float:left; } img{ width:100%; border:1px solid; display:block; } body{ margin:0; padding:0; } <div><img src="http://placehold.it/200x200"/></div> <div><img src="http://placehold.it/200x200"/></div> <div><img src="http://placehold.it/200x200"/></div> <div><img...

bootstrap grid different column height and width

html,css,twitter-bootstrap,grid,bootstrap
I'm trying to achieve this on bootstrap: http://s2.postimg.org/nrbrjp4xl/layout.png Last two columns stay with a distance, I want them all stacked. how can I fix this? here is a sample of my code on JSFiddle: JSFiddle and here is the code: .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7,...

2D grid image values to 2D array

arrays,image,image-processing,grid,autoit
I have an image containing a 2D grid like the image below and I want to put in an array in this format. ;x = wall(black cells and grey boxes), s= start (red circle), g = goal(blue circle), 0 = available path(everything else) $data[5][5] = [["x","x","x","x","x"], _ ["x","s","0","x","x"], _ ["x","x","0","x","x"],...

How to find nearest N grid points (greedy)

arrays,algorithm,sorting,grid,game-engine
I'm using 2d arrays for to handle objects in a game. The dimensions of the array act like coordinates on a cartesian grid. When the player selects a point on I want to collect the N nearest grid cells from the array, even if the point is not a valid...

Neatly arrange different sized images into a grid

css,image,grid
I'm trying to arrange images into a neatly packed grid like in the screenshot. The images come from a CMS so they can be any size. How can I make this work either using CSS or JS? ...

Building a grid framework with inline-block's

css,frameworks,grid
I'm about to update http://getcrow.eu and have one "issue" to solve that would make the framework everything I always wanted it to be. Important to know: Crow does not use tables, absolute positioning, floats or clearfix'es and it should stay that way. We know that putting inline-blocks next to each...

Equal inner gaps between table-cell columns

jquery,html,css,css3,grid
I am using savvior.org to create a grid based layout for images and other elements, everything works fine, I am only stuck with adding inner gaps between the .columns. The outcome is currently as follows: As you can see the gap is equal but the height of the elements within...

Reshaping after Interpolation

python,numpy,grid,scipy,reshape
After interpolating data to a target grid i am not able to reshape my data to to match the original shape. The original shape of my data is 900x900 being rows x columns. After the interpolation i have an 1-D array of interpolated values in the new size of the...

Storing data in a hexagonal grid for word search Python

python,python-3.x,grid,hex
newbie to Python. I would like to know how to store letters in a hexagonal grid. I tried using graph but I do not understand it too well. The first letter (from a file or something) goes to the center hexagonal box of the honeycomb structure, and the next set...

OpenGL indices Array

c++,opengl,grid,terrain
I have a class terrain which create a grid of Quads. I do it like this for(int z=0; z<_length;z++){ for(int x=0; x<_width;x++){ vertices.push_back(vec3((float)x*250, 0.f, (float)z*250)); } } for(int z=0; z<(_length-1);++z){ for(int x=0; x<(_width-1);++x){ int index = z*_width+x; Vertex _vertices[] = { Vertex(vertices.at(index),vec3(0, 0, 0)), Vertex(vertices.at(index+1),vec3(0, 0, 0)), Vertex(vertices.at(index+_width),vec3(0, 0, 0)),...

Angular ui-grid. Error in example?

angularjs,tree,grid,angular-ui-grid
I want to use ui-grid with treeView, but in example: http://ui-grid.info/docs/#/tutorial/215_treeView it working wrong. if i click on "+" icon and then click "-" icon - last row going out from grid. How repear this, or replace to other grid with tree (hierarhical grid with several column and row selections)?...

How to bind a SharePoint list attachment to a Kendo Grid column dynamically

c#,json,sharepoint,kendo-ui,grid
I have a SharePoint list where I grab the required rows depending on a dynamically created query, and passing them to the front end using a Json serialized object. I am then using that Json object as the dataSource for Kendo Grid. Now, some of the rows that I'm pulling...

Using Spark to call out-of-process dll functions

c++,scala,grid,apache-spark,zeromq
We're evaluating wether to use Spark to run our grid calculations and we're having some trouble with a particular use case. Wondering if the community has any good ideas. We have an extensive library of C++ functions in a dll that we need to use all over the grid. The...

Angular ng- grid - hide/remove column input from column menu

javascript,angularjs,grid,multiple-columns,ng-grid
When you use the flag 'showColumnMenu' with true value. the ng-grid is rendered with button on the right end top panel. Using this button we can hide/show the column on the grid. In my Case I don't want to make it possible for some column to be visible on the...