在Ubuntu.Components 1.2中有一个新的控件叫做ListItem。它只出现在15.04的手机的Image中,所以对14.10手机的用户来说这个是不可以用的。就像API文档中提到的那样,它是为了为Ubuntu手机中的List及Grid来提供一个标准的设计而设计的。...
分类:
系统相关 时间:
2015-05-26 14:24:15
阅读次数:
164
【题目】 Given a 2d grid map of'1's (land) and'0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adj....
分类:
其他好文 时间:
2015-05-23 16:47:04
阅读次数:
138
在这篇教程中,我将为你介绍如何在页面滚动时触发css动画。这种效果使用JavaScript&CSS就能做到。Jeet Grid System website 就是使用这种小技巧的例子,当你向下滚动的时候,CSS transform animation就被触发了。想要达到这种目的,有很多Javascript/jQuery 插件可以用,比如WOW,在这篇教程中,我将为你展示如何不适用插件做到这种效果。T...
分类:
其他好文 时间:
2015-05-23 15:36:21
阅读次数:
154
1 Unique Paths
A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below).The robot can only move either down or right at any point in time. The robot is trying t...
分类:
编程语言 时间:
2015-05-23 11:32:57
阅读次数:
234
public class Solution { public int minPathSum(int[][] grid) { if (grid == null || grid.length == 0) { return 0; } i...
分类:
其他好文 时间:
2015-05-23 06:27:29
阅读次数:
87
题目:
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
Note: You can only move either down or...
分类:
编程语言 时间:
2015-05-22 17:12:06
阅读次数:
221
显示行号类
///
/// GridView 显示行号 设置行号列的宽度
///
/// GridView 控件名称
/// 行号列的宽度 如果为null或为0 默认为30
public void DrawRowIndicator(DevExpress.XtraGrid.Views.Grid...
分类:
其他好文 时间:
2015-05-22 13:34:02
阅读次数:
150
1.按条件控制Grid不可编辑 Grid编辑其实用到的不多...但是也有要控制权限或者其他条件不能编辑的情况其实挺简单,学过extjs的知道,我现在也只是写前台了,没有写到后台事件,有时间再说吧,如果条件是服务器判断可以参考官网的给行和列加样式的例子,轻轻点我就转到了我这么好心就吧源码贴出来吧 1....
分类:
Web程序 时间:
2015-05-22 12:54:26
阅读次数:
140
系统中,角色表和操作表是多对多的关系,总体思路就是先显示出系统的可分配的菜单和操作(就是权限),然后显示该角色已经拥有的权限,即发送两次请求,就是下面这样:
然后你要授权就勾选,按下授权按钮,向后台传输的数据其实很简单那,就是该角色的ID(roleId)和所授权权限的ID集合(ids):
var submitForm = function($dialog, $grid, $pjq)...
分类:
编程语言 时间:
2015-05-21 12:47:37
阅读次数:
254
项目中创建表格, 引用头文件
#import "WBDataGridView.h"
- (void)viewDidLoad{
[super
viewDidLoad];
// Do any additional setup after loading the view.
self.view.backgroundC...
分类:
移动开发 时间:
2015-05-21 12:46:47
阅读次数:
219