Home >Web Front-end >JS Tutorial >The GridView implemented by js means that the table header is fixed and the table body has scroll bars and can be scrolled_javascript skills

The GridView implemented by js means that the table header is fixed and the table body has scroll bars and can be scrolled_javascript skills

WBOY
WBOYOriginal
2016-05-16 16:59:221411browse
Copy code The code is as follows:

<%@ Page Language="C#" AutoEventWireup="true" %>









Create a GridView with a fixed header and scrollable body










< div style="overflow-y: scroll; height: 200px">
GridLines="Both" CellPadding="4" Width="560">






< /html>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn