grid

How can i create system for distributed calculations?

江枫思渺然 提交于 2019-12-24 13:40:14
问题 I am a student of faculty of Cybernetics and I want to write one project using Java. I want to create system for distributed computing. It will contains next components: 1. User's main program (different for each concrete situation) 2. User's task program, that can only solve some little task (also different for each case) 3. My program, that will interact with user's main program to know, which tasks are needed to be solved 4. My program, that will interact with user's task program to tell

JavaFx 2.x: How to draw minor grid lines

拈花ヽ惹草 提交于 2019-12-24 13:35:14
问题 I'm unable to draw minor grid lines, it is possible to do so in JavaFx 2.2? In my case the grid and the graph moves so I cannot use a static image to generate the minor grid (live graph as shown in this example here). Currently I see this an example of what I'm looking for. 回答1: As suggested by @colti and a little bit of module logic I came up with this solution import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.chart.LineChart; import javafx.scene.chart

C# - Populating Gridview

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 13:25:51
问题 I want to create a grid view with one column containing empty textboxes where the user can input a number (quantity), some regular columns and a column dedicated to images. I have the following code in C#: Label_Error.Visible = false; DataTable dt = new DataTable(); dt.Columns.Add("Quantity", typeof(TextBox)); dt.Columns.Add("Book ID", typeof(int)); dt.Columns.Add("Name", typeof(string)); dt.Columns.Add("Author", typeof(string)); dt.Columns.Add("Description", typeof(string)); dt.Columns.Add(

MVC: get uploaded filename back in grid column

一世执手 提交于 2019-12-24 12:43:57
问题 I have an MVC razor form with a Kendo grid. The grid has an asynch image uploader. @(Html.Kendo().Grid<CraftStore.Models.Catalog>() .Name("CatalogGrid") .Columns(columns => { columns.Bound(p => p.CatalogName).Filterable(true).Width(240); columns.Bound(p => p.CatalogDescription).Filterable(true).Width(340); columns.Bound(p => p.ModelNumber).Filterable(true).Width(110); columns.Bound(p => p.SerialNumber).Filterable(true).Width(110); columns.Bound(p => p.InventoryCount).Filterable(true).Width

dojo.connect in dojox.enhancedGrid plugin IndirectSelection

♀尐吖头ヾ 提交于 2019-12-24 10:45:51
问题 I stumbled about a strange circumstance. We use dojo AMD Vers. 1.9. in which dojo.connect is replaced by dojo.on So far all is okay. Now i want to connect an Eventlistener ( Checkbox is Selected) to the IndirectSelection-plugin of my EnhancedGrid. I search for a solution with dojo.on but just find dojo.connect?! Is that correct? I mean dojo.connect is deprecated generaly in dojo 1.9? This is the code i find in the dojo-side: dojo.connect(grid.selection, 'onSelected'|'onDeselected', function

Winrt custrom grid control with gridlines

感情迁移 提交于 2019-12-24 10:38:13
问题 I want to make a custom grid control, because the default doesn't support showing grid lines. I found a wpf solution for this, but the winrt lacks few features that the wpf supports. The code in the wpf soulution is something like this : protected override void OnRender(DrawingContext dc) { if (ShowCustomGridLines) { foreach (var rowDefinition in RowDefinitions) { dc.DrawLine(new Pen(GridLineBrush, GridLineThickness), new Point(0, rowDefinition.Offset), new Point(ActualWidth, rowDefinition

bootstrap loading wrong grid on mobile

一笑奈何 提交于 2019-12-24 08:23:46
问题 I designed a webpage using bootstrap to make it responsive. when I check the result on my PC everything looks fine, but when I uploaded it on server the grid system has probems. when I open it on mobile, instead of loading col-xs-* it loads col-sm-* .its funny when I inspect the page by chrome, in the chrome top nav bar i see the width is 600px, but it is loading sm instead of xs. to give more details: when I inspect locally, it loads xs abd everything is designed as expected but online it

WPF GridSplitter Doesn't Work With WebBrowser Control?

我是研究僧i 提交于 2019-12-24 08:10:34
问题 I've been struggling with the GridSplitter. It seems to be incompatible with the WPF WebBrowser control. If I resize my window and move the GridSplitter, then I can make my grid wider than my window and non-viewable. Before: WPF GridSplitter WebBrowser Before http://img239.imageshack.us/img239/4061/grid1vn8.gif After: (note scrollbars) WPF GridSplitter WebBrowser After http://img101.imageshack.us/img101/4303/grid2so0.gif My XAML... <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml

Visual FoxPro - Table Grid

我们两清 提交于 2019-12-24 07:59:10
问题 How can I achieve this kind of grid? What controls/tools I should use? Any idea? This screen cast is from the Baplie Viewer application. I guess it was done by the captain using visual foxpro while he was sailing. [Edit] It is ready-only and column widths will be fixed. It is a kind of reporting generated in a tabular format similar to Grid, but I think we cannot use the native Grid control. And it may be needed to generate dynamically. I mean we would not be able to use shape tools, line

jQuery Masonry not working with jQuery tabs

纵饮孤独 提交于 2019-12-24 07:46:41
问题 I have a tabbed element on a website, and in each tab the jQuery Masonry script is used. The only problem is that the Masonry grid will only work for the content in the first tab, but I need it to work for the content in every tab. I have tried renaming the containers for each tab, but nothing seems to work. Here is the website: http://joltentertainment.com/services-2/ Here is my code: <ul class="services-tabs"> <li><a href="#tab1">Entertainment</a></li> <li><a href="#tab2">Ambiance & Décor<