1.Surgar确实简单好用,上手比EF快多了,EF真的是配置麻烦; 但是同时有一些小bug,比如分页的函数就有问题,并且生成cs文件的时候会自动生成视图的cs文件,但是又不能处理cs文件(例如改名称之类的),不过熟悉之后也无伤大雅。 2.MiniUI的dataGrid控件分页的时候还需要传入tot ...
分类:
其他好文 时间:
2020-10-19 22:16:42
阅读次数:
16
问题如图: 重复请求2次,错误代码如图: 错误问题分析:因为html代码中利用class声明了datagrid,导致EasyUI解析class代码的时候先解析class声明中的datagrid,这样组件就请求了一次url;然后我又在加载的js的时候自动请求了一次url。这样就导致了重复发送了两次加载 ...
分类:
Web程序 时间:
2020-09-18 01:03:52
阅读次数:
51
百度了快一天,没结果,除了几个原创的,都是复制粘贴的内容。 不想用别的笨办法,于是脑洞大开,想出了我的办法。 首先是前台代码,与网上的比较类似: xmlns:jz="clr-namespace:*****.Model;assembly=****" xmlns:utils="clr-namespace ...
分类:
编程语言 时间:
2020-09-17 17:26:10
阅读次数:
39
界面上有个DataGrid,xaml如下 1 <Window x:Class="WTest.MainWindow" 2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 3 xmlns:x="http://schema ...
2020/07/29 bootstrap bootstrapTable在设置固定列宽的时候要先在table标签上加 style="table-layout: fixed;word-break:break-all; word-wrap:break-all;" 不然,width无效。 table-lay ...
分类:
其他好文 时间:
2020-07-29 17:48:25
阅读次数:
67
# 定位到table,并获得table中所有得tr元素 menu_table = self.driver.find_element_by_xpath("//div[@class='datagrid-view1']/div[2]/div/table") rows = menu_table.find_e ...
分类:
编程语言 时间:
2020-07-28 17:25:27
阅读次数:
137
找开例子: https://github.com/xiaoruilin/EasyUI_Plug 复制到地址为: https://github.com/xiaoruilin/EasyUI_Plug.git 组织地址为: https://github.com/xiaoruilin/EasyUI_Plug ...
分类:
其他好文 时间:
2020-07-27 13:55:01
阅读次数:
80
XAML: <Window x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft ...
修改列的模板,不使用自带的CheckBox列 <DataGridTemplateColumn Width="30"> <DataGridTemplateColumn.CellTemplate> <DataTemplate> <CheckBox IsChecked="{Binding IsChecke ...
示例: var htmlTemp = "<div class=\"listTemp"\"><input class= \"easyui-textbox theme-textbox-radius\" style = \"width:960px;height:28px;\" readonly=\"rea ...
分类:
Web程序 时间:
2020-07-16 00:30:08
阅读次数:
103