grid

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

心不动则不痛 提交于 2019-12-03 15:13:39
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I'm looking for tools that implement the distributed agent/service model ... I guess we could also call this grid or cloud computing,

WPF Grid not showing scroll bars

雨燕双飞 提交于 2019-12-03 14:38:33
问题 In .NET 3.5 I have a Grid in a Window. I am populating this Grid with Buttons. When the buttons fill the grid and go out of view the Grid does not show the scroll bar. I have set the Grids vertical scroll to be visible but its still not showing. <Window x:Name="Window" x:Class="MergeToCheck.CheckList" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http:/

WPF SharedSizeGroup GridSplitter Issue

陌路散爱 提交于 2019-12-03 14:27:06
I wish to use a Grid for my top level layout. The Grid will have 1 column and n rows. Each row in the Grid should also contain a Grid which shall have 3 columns and 1 row. In the second column is a GridSplitter and I am trying to use a SharedSizeGroup so that this changes the size of the first column across all of the nested Grids. Here is what i have...and it works!!...well kind of...if you click the splitter and resize without letting go it works...but for some reason if you resize something and let go of the mouse and then attempt to resize using a different row it seems to "stick". Any

How do I dynamically create a collage (grid with no gaps) of images, where images have different heights?

旧巷老猫 提交于 2019-12-03 14:21:19
I want to display a page of thumbnails. The thumbnails are user uploaded artwork images. Each image has a constrained width, but not a constrained height, this is to show the full image without any cropping. I want the images to butt up against each other with no gaps in between. The number of columns is not fixed: If I expand or resize the page the images should flow into correct number of columns. float:left is ALMOST, what I want. Except when there are tall images in the page I get this gapped look: How do I eliminate the gaps? If you want to do this in css only you have to create divs for

Finding the closest grid coordinate to the mouse position with javascript/jQuery

ぐ巨炮叔叔 提交于 2019-12-03 13:06:00
问题 What I'm trying to do is make a grid of invisible coordinates on the page equally spaced. I then want a <div> to be placed at whatever grid coordinate is closest to the pointer when onclick is triggered. Here's the rough idea: I have the tracking of the mouse coordinates and the placing of the <div> worked out fine. What I'm stuck with is how to approach the problem of the grid of coordinates. First of all, should I have all my coordinates in an array which I then compare my onclick

How to disable action column item for a single row?

假如想象 提交于 2019-12-03 12:29:37
问题 Consider this JSON sample : [{id:1,editable:true},{id:2,editable:false}] These records are about to be loaded in a store, then displayed inside a grid panel. This grid has an action column item for edition purposes. I'm looking for a way to disable the "edit" button only for the second row without performing computation after rendering. I'd like to use a built in feature which works like the renderer property rather than to loop through the store to update each row once the grid has been

Assigning border to every Grid row

二次信任 提交于 2019-12-03 12:29:17
Currently I am setting the background on each Grid row individually: <Grid> <Grid.RowDefinitions><RowDefinition /><RowDefinition /></Grid.RowDefinitions> <Grid.ColumnDefinitions><ColumnDefinition /><ColumnDefinition /><ColumnDefinition /><ColumnDefinition /><ColumnDefinition /><ColumnDefinition /></Grid.ColumnDefinitions> <Border Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="6" Height="24" BorderBrush="#FF252A30" CornerRadius="10" BorderThickness="1"> <Border.Background> <LinearGradientBrush EndPoint="1.036,0.367" StartPoint="-0.194,0.362"> <GradientStop Color="#AAE098" Offset="0.1"/>

How i can create context menu for extjs grid

六月ゝ 毕业季﹏ 提交于 2019-12-03 09:32:24
问题 I can create context menu for tree and attach to 'contextmenu' event. Code: contextMenu = new Ext.menu.Menu({ items: [{ text: 'Edit', iconCls: 'edit', handler: edit },...] }) Ext.getCmp('tree-panel').on('contextmenu', function(node) { contextMenu.show(node.ui.getAnchor()); }) But how I can create context menu for grid elements? 回答1: First define your context menu mnuContext = new Ext.menu.Menu({ items: [{ id: 'do-something', text: 'Do something' }], listeners: { itemclick: function(item) {

GridView Get Item On Touch

99封情书 提交于 2019-12-03 08:51:31
问题 I'm trying to get the item selected when i touch a gridview, i cant use the onClick as that starts another activity. What I'm trying to achieve is to be able to move items in a gridview around and since i cant find a way of doing it I'm trying to make a way.. So yeah.. Is there a way to get which item has been 'touched', I've tried using a Rect and it hasn't worked properly.. (Can i just elaborate.. i Cant use the onItemClick for this..) Any help would be great, Thank you! :) 回答1: If Glendon

Kendoui Grid Get Selected Row Id when Edit Button is clicked

匿名 (未验证) 提交于 2019-12-03 08:50:26
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a simple grid and I'm having a lot of trouble collecting the PersonID when the edit button is clicked using JQuery. I need the PersonID because I'm going to add a file upload to the inline edit column and i want to upload a file and associate it with the PersonID. All help welcome :) @(Html.Kendo().Grid<GridCustomPopupTemplate.Models.Person>().Name("Grid") .DataSource(dataSource => dataSource .Ajax() .Model(model => model.Id(m => m.PersonID)) .Read(read => read.Action("GetPersons", "Home")) .Update(up => up.Action("UpdatePerson",