QuickGridColumnResizer 1.0.5
dotnet add package QuickGridColumnResizer --version 1.0.5
NuGet\Install-Package QuickGridColumnResizer -Version 1.0.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="QuickGridColumnResizer" Version="1.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add QuickGridColumnResizer --version 1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: QuickGridColumnResizer, 1.0.5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install QuickGridColumnResizer as a Cake Addin #addin nuget:?package=QuickGridColumnResizer&version=1.0.5 // Install QuickGridColumnResizer as a Cake Tool #tool nuget:?package=QuickGridColumnResizer&version=1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Features
- Does not behave erratically with virtualised content.
- Double-click to auto-adjust column width.
- Middle-click to set initial width.
Setup
- Add reference to the package:
dotnet add package QuickGridColumnResizer
- In
index.html
file (Blazor WebAssembly App) orApp.razor
file (Blazor Web App) add following lines:
<link rel="stylesheet" href="_content/QuickGridColumnResizer/style.css" />
<script src="_content/QuickGridColumnResizer/script.js"></script>
For example:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>My Blazor Project</title>
<base href="/" />
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" />
<link rel="stylesheet" href="css/bootstrap-icons/bootstrap-icons.min.css" />
<link rel="stylesheet" href="_content/QuickGridColumnResizer/style.css" />
<link rel="stylesheet" href="css/app.css" />
<link rel="stylesheet" href="MyBlazorProject.styles.css" />
</head>
<body>
<div id="app">
<svg class="loading-progress">
<circle r="40%" cx="50%" cy="50%" />
<circle r="40%" cx="50%" cy="50%" />
</svg>
<div class="loading-progress-text"></div>
</div>
<div id="blazor-error-ui">
An unhandled error has occurred.
<a href="" class="reload">Reload</a>
<a class="dismiss">🗙</a>
</div>
<script src="_framework/blazor.webassembly.js"></script>
<script src="_content/QuickGridColumnResizer/script.js"></script>
</body>
</html>
Custom styling
You can override default styles.
- If you use global style sheet:
table.quickgrid .column-resizer {
cursor: ew-resize;
border: none;
background: transparent;
}
table.quickgrid .column-resizer::before {
content: "|";
}
- If you use isolated style sheet
::deep table.quickgrid .column-resizer {
cursor: ew-resize;
border: none;
background: transparent;
}
::deep table.quickgrid .column-resizer::before {
content: "|";
}
Package icon
Resize Horizontal icon by Icons8
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.