wxPropertyGrid属性表格组件
wxPropertyGrid 是一个属性编辑器的UI组件,支持字符串、数字、标志、字体、颜色等属性类型设置。
示例代码
// Add int property
pg->Append( new wxIntProperty(wxT("IntProperty"), wxPG_LABEL, 12345678) );
// Add float property (value type is actually double)
pg->Append( new wxFloatProperty(wxT("FloatProperty"), wxPG_LABEL, 12345.678) );
// Add a bool property
pg->Append( new wxBoolProperty(wxT("BoolProperty"), wxPG_LABEL, false) );
// A string property that can be edited in a separate editor dialog.
pg->Append( new wxLongStringProperty(wxT("LongStringProperty"),
wxPG_LABEL,
wxT("This is much longer string than the ")
wxT("first one. Edit it by clicking the button.")));
// String editor with dir selector button.
pg->Append( new wxDirProperty(wxT("DirProperty"), wxPG_LABEL, ::wxGetUserHome()) );
// wxArrayStringProperty embeds a wxArrayString.
pg->Append( new wxArrayStringProperty(wxT("Label of ArrayStringProperty"),
wxT("NameOfArrayStringProp")));
// A file selector property.
pg->Append( new wxFileProperty(wxT("FileProperty"), wxPG_LABEL, wxEmptyString) );
// Extra: set wildcard for file property (format same as in wxFileDialog).
pg->SetPropertyAttribute( wxT("FileProperty"),
wxPG_FILE_WILDCARD,
wxT("All files (*.*)|*.*") );
评论
JmesaHtml表格组件
Jmesa是ExtremeTable项目重新开发一个的Html表格组件,提供过滤、排序、分页、数据导出等功能。Jmesa非常易于使用,可按自己的需求进行扩展。JMesa需要JDK1.5以上的环境。
JmesaHtml表格组件
0
EditableGridJS表格组件
EditableGrid是一个JavaScriptLibrary,利用它能够让标准的HTML表格变成可编辑和可排序。这个Library能够让用户自动使用适当的编辑器如textfields、checkb
EditableGridJS表格组件
0
GriddleReact 表格组件
Griddle是一款功能强大的React表格组件,其npm包是griddle-react,安装方法:npm install griddle-react@alpha界面截图:使用方法:import Re
GriddleReact 表格组件
0