grid

Angular ui-grid external export buttons

匿名 (未验证) 提交于 2019-12-03 08:42:37
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am new working with the Angular UI-GRID and I need to create external buttons for the exporting features like PDF export and CSV Export similar to this image . Do you have any idea how can I do it ? Also I need a Print button but I don't see it in the documentation. Is there a Print behavior for this grid ? Thank you, Ernesto 回答1: Taking a look at the ui-grid.exporter source code (this will specifically address pdf export, which starts at ~line 972, but you can apply it to the csv use case as well), you would want to create an external

What do push/pull classes do in a grid system?

纵饮孤独 提交于 2019-12-03 07:46:40
When I look at a lot of CSS grid systems and frameworks they usually have a standard column and row setup with percentage widths. Something like this for example: standard grid column: .col-10 { width: 83.33333%; width: calc(100% / 12 * 10); width: -webkit-calc(100% / 12 * 10); width: -moz-calc(100% / 12 * 10); } However, in addition to this, I often see other classes like .push or .pull . For example like this: push/pull classes: .push-10 { left: 83.33333%; left: calc(100% / 12 * 10); left: -webkit-calc(100% / 12 * 10); left: -moz-calc(100% / 12 * 10); } .pull-10 { left: -83.33333%; left:

difficult HTML, JavaScript, CSS grid page

徘徊边缘 提交于 2019-12-03 07:33:31
FYI, This is a simplified/generic example of what I'm working on. I'm just looking for the HTML, JavaScript, and/or CSS that can make this work. I'd prefer that this can be done without any javascript library. Also, the page will be built based on data loaded from a database. This only needs to work in newer IE/Firefox browsers. I need to create a web page that has a grid of fixed size "cells" on it, each cell will be 150 pixels by 150 pixels. Here is sample 6x3 grid, but my grids will vary in size (4x10 or 3x5, etc. as per the database data): ------------------------------------- | | | | | |

Consistent grid headers with Flexigrid ?

荒凉一梦 提交于 2019-12-03 07:26:37
问题 So I'm trying to use the flexigrid plugin. It looks like it's going to work great aside from the fact that it looks like you have to manually set the column widths. Otherwise, the column headers do not match up with the body columns. Is there any way of automatically matching these up, while still allowing the column widths to be defined by the length of the content in the columns (as is the normal table behavior). 回答1: I've been working on this today, too. What I've come up with involves

Alternative to Gridster? [closed]

我只是一个虾纸丫 提交于 2019-12-03 06:53:37
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 months ago . I have used the Gridster library for a project that uses a drag-and-drop multi-column grid. Sadly, Gridster only supports Internet Explorer 9+. I need to find a similar simple-to-use library which lets me do the same using IE8, and if it possible also compatible with IE7, and IE6 too. So, is there any Gridster

Finding adjacent neighbors on a hexagonal grid

百般思念 提交于 2019-12-03 06:20:09
EDIT: Wrapped the example map in a code block so the formatting is correct. Ok, I'm trying to write an extremely simple A* algorithm over a hexagonal grid. I understand, and can do the A* portion. In fact, my A* works for square grids. What I can't wrap my brain around is finding neighbors with hexagons. Here's the layout for the heagonal grid 0101 0301 0201 0401 0102 0302 0202 0402 etc, etc So, what I need help with is writing a Hexagon class that, given it's hex coordinates, can generate a list of neighbors. It needs to be able to generate neighbors which would 'fall off' the grid (like 0000

How do I layout a form in WPF using grid or other controls for maintainability

好久不见. 提交于 2019-12-03 05:22:13
I have a WPF form, I want to lay out a standard form onto it. Each form element will have a label, and then a control. Pretty standard stuff. If I use a wrap panel, it can cause the label and the control to be separated, but I want them to stay together. Is there some WPF equivalent of <nobr/> ? Grid works, and allows for column spanning etc, however I really really hate that you specify the column and row on each control. This makes it extremely inconvenient to reorder or insert things into the list. Is there a way to get the grid to use more HTML style column/rows where the items are a child

Extjs - How to show combobox in Grid column

梦想的初衷 提交于 2019-12-03 04:57:17
I have a gridpanel include date and combo column jsfiddle But I don't want click to show my combo. I want show my combo without click, not hide inside cell like and the same for date column like I think chage to clicksToEdit: 0 but fail plugins: [ Ext.create('Ext.grid.plugin.CellEditing', { clicksToEdit: 1 }) ] How to do that, thanks The only way to achieve this in 4.2x or below is to use a custom component like Skirtle's comonent column http://skirtlesden.com/ux/component-column This column type will let you insert any arbitrary components into a cell. Upcoming release of ExtJS will have

Any good distributed agent/service models for .NET? [closed]

为君一笑 提交于 2019-12-03 04:55:39
I'm looking for tools that implement the distributed agent/service model ... I guess we could also call this grid or cloud computing, but I'm not sure the term is exactly analagous. A distributed agent model would be one where developers build agents that are dispatched to a framework and the framework executes the agent somewhere in the distributed environment. Specifically, I'm looking for a framework that support dynamic distribution across the grid/cloud, but replaces the transient agent with a more persistent service. The goal here is to minimize the amount of time and effort it requires

no template property on grid style in WPF?

喜你入骨 提交于 2019-12-03 04:50:32
i want to move all the content of a grid to a style/template/Container (don't know which one to choose...), but i tried to move it to a style. but the problem is i get the error : "Cannot find the Style Property 'Template' on the type 'System.Windows.Controls.Grid'". i know there is no template property for grid , but how else will i move the grid content to the ResourceDirectory file? This is the Grid code: <Grid Grid.Column="0" Grid.Row="0" Margin="10,15,5,5" > <Border BorderThickness="7" CornerRadius="4"> <Border.BorderBrush> <SolidColorBrush Color="#73B2F5" Opacity="0.5"/> </Border