子Gridview(嵌套Gridview)的选项卡空间 [英] tab space of a child gridview (Nested Gridview)

查看:151
本文介绍了子Gridview(嵌套Gridview)的选项卡空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

程序员.

有谁知道如何在gridview中有空格或制表符或缩进gridview?

我正在做一个嵌套的Gridview,我想缩进内部的Gridview以显示它在某个主题下.

& nbsp; < ----不起作用.

只是简单地使空格也不起作用,并且当我键入文本时,网格视图上方的文本就很简单.

我怎么能像这样缩进:

父级Gridview
(选项卡空间)Child Gridview

请帮忙.

我真的希望它具有适合我们项目的样式.

谢谢程序员/开发人员.

顺便说一句:我使用asp.net和javascript进行嵌套的gridview.

我真的想缩进子gridview.

谢谢大家!

更多的力量. ;)

Hi programmers.

Does anyone know how to have a space or tab or indent a gridview inside a gridview?

Im doing a nested Gridview and i want to indent the inside gridview to show that it is under a certain topic.

&nbsp; <---- not working.

just simply have spaces isnt working too and when i type the text is just simple above the gridview.

how can i have it indented like this:

Parent Gridview
(tab space)Child Gridview

please help.

i really want it to have a style like it for our project.

thanks programmers/developers.

btw: im using asp.net and javascript for nested gridview.

I really want to indent the child gridview.

thanks guys!

more power. ;)

推荐答案

Hi,

Use &#160 instead of &amp;nbsp;

Example:

<body>
<form id="form1" runat="server">
<div>
Test
<br />
&#160&#160&#160&#160&#160&#160&#160ok
</div>
</form>
</body>


嘿Al Moje.谢谢,我有空间,但我想在gridview内嵌空间,如下所示:

父级Gridview
(选项卡空间)子Gridview

我尝试过,它看起来像这样:
父级Gridview
(空格/文本)
子Gridview

但是至少非常感谢您,我现在对间距有一些选择.谢谢!请帮我.我真的很需要知道.祝你有美好的一天! :)
Hey Al Moje. thanks i got spaces but I want to have spaces inline with the gridview its like:

Parent Gridview
(tab space) Child Gridview

I tried that and it looked like this:
Parent Gridview
(spaces/text)
Child Gridview

But thank you very much at least i have now some choices for spacing. thanks! please help me. i really need to know it. have a great day! :)


感谢伟大的想法并为大家提供帮助!它真的帮助了我.非常感谢!

我认为它是自动缩进的,或者您可以使用align命令并将其等于中心,然后检查您的父gridview的宽度是否足够长以强调父gridview的制表符空间/缩进.

更大的力量! :D
thank for the great ideas and help guys! It really helped me. thanks a lot!

i think it is automatically indented or you can you the align command and equal it to center and then check the width of your parent gridview if its long enough to emphasize the tab space/indent of the parent gridview.

more power! :D


这篇关于子Gridview(嵌套Gridview)的选项卡空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆