mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-17 03:03:23 +02:00
updated table
This commit is contained in:
@@ -2,6 +2,8 @@ Microsoft Visual Studio Solution File, Format Version 10.00
|
||||
# Visual Studio 2008
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Server_VS90", "Server\Server_vs90.vcproj", "{B0FFA5DF-1420-460F-8E87-E4DEBE801A05}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Picross_VS90", "Picross\Picross_VS90.vcproj", "{0D0ED3CF-2841-412A-A9AC-F07F9E61341C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
debug_shared|Win32 = debug_shared|Win32
|
||||
@@ -18,6 +20,14 @@ Global
|
||||
{B0FFA5DF-1420-460F-8E87-E4DEBE801A05}.release_shared|Win32.Build.0 = release_shared|Win32
|
||||
{B0FFA5DF-1420-460F-8E87-E4DEBE801A05}.release_static|Win32.ActiveCfg = release_static|Win32
|
||||
{B0FFA5DF-1420-460F-8E87-E4DEBE801A05}.release_static|Win32.Build.0 = release_static|Win32
|
||||
{0D0ED3CF-2841-412A-A9AC-F07F9E61341C}.debug_shared|Win32.ActiveCfg = debug_shared|Win32
|
||||
{0D0ED3CF-2841-412A-A9AC-F07F9E61341C}.debug_shared|Win32.Build.0 = debug_shared|Win32
|
||||
{0D0ED3CF-2841-412A-A9AC-F07F9E61341C}.debug_static|Win32.ActiveCfg = debug_shared|Win32
|
||||
{0D0ED3CF-2841-412A-A9AC-F07F9E61341C}.debug_static|Win32.Build.0 = debug_shared|Win32
|
||||
{0D0ED3CF-2841-412A-A9AC-F07F9E61341C}.release_shared|Win32.ActiveCfg = release_shared|Win32
|
||||
{0D0ED3CF-2841-412A-A9AC-F07F9E61341C}.release_shared|Win32.Build.0 = release_shared|Win32
|
||||
{0D0ED3CF-2841-412A-A9AC-F07F9E61341C}.release_static|Win32.ActiveCfg = release_shared|Win32
|
||||
{0D0ED3CF-2841-412A-A9AC-F07F9E61341C}.release_static|Win32.Build.0 = release_shared|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
@@ -361,6 +361,10 @@ void TableRenderer::renderProperties(const Table* pTable, const RenderContext& c
|
||||
if ((*it) && (*it)->getCell())
|
||||
editable |= (*it)->isEditable();
|
||||
}
|
||||
if (!pTable->showBorder())
|
||||
ostr << ",border:false, bodyBorder:false";
|
||||
if (pTable->hideHeaders())
|
||||
ostr << ",hideHeaders:true";
|
||||
ostr << ",listeners:{";
|
||||
bool written = false;
|
||||
if (editable)
|
||||
@@ -572,8 +576,11 @@ void TableRenderer::renderColumn(const Table* pTable, const TableColumn& tc, int
|
||||
// {header: "Last updated", width: 135, sortable: true, renderer: Ext.util.Format.dateRenderer('m/d/Y'), dataIndex: 'lastChange'}
|
||||
ostr << "{";
|
||||
std::string hdr(Utility::safe(tc.getHeader()));
|
||||
|
||||
ostr << "header:'" << hdr << "',dataIndex:'" << idx << "'";
|
||||
ostr << "dataIndex:'" << idx << "'";
|
||||
if (!tc.resizable())
|
||||
ostr << ",resizable:false";
|
||||
if (!hdr.empty())
|
||||
ostr << ",header:'" << hdr << "'";
|
||||
|
||||
if (tc.getWidth() > 0)
|
||||
ostr << ",width:" << tc.getWidth();
|
||||
|
Reference in New Issue
Block a user