[英]how to give horizontal and vertical header fixed but data should move
I tried to develop table with fixed header( ie Header must contain - vertical and horizontal way ). 我尝试用固定标题开发表格( 即标题必须包含 - 垂直和水平方式 )。
UPDATE : This Image is what i want in phonegap using html or any web developing tools. 更新 :这个图像是我想要在使用HTML或任何Web开发工具的phonegap。 BUT NOT in EXCEL
但不是在EXCEL
This table i am developing for my mobile app(Android/iPhone) etc. 这个表我正在开发我的移动应用程序(Android / iPhone)等。
I have seen many table but i am not able to find my perfect way. 我见过很多桌子,但我找不到完美的方式。 I am using phoneGap , jqueryMobile , jQuery , html , css , javascript , third party .js and other web search...
我正在使用phoneGap , jqueryMobile , jQuery , html , css , javascript ,第三方.js和其他网络搜索...
Thanks and sorry for my grammar. 谢谢,抱歉我的语法。
One way to solve this is to use css for horizontal and vertical headers by using div layout and applying position: fixed;
解决此问题的一种方法是使用div布局并应用
position: fixed;
来使用css作为水平和垂直标题position: fixed;
and then design you tabular data using table layout as you want and by applying the top and left margin for them. 然后根据需要使用表格布局设计表格数据,并为它们应用顶部和左侧边距。
But it's not possible if you want exactly as Microsoft's Excel with this solution . 但是如果你想要这个解决方案完全像微软的Excel一样,那是不可能的。
嗨检查这个jsfiddle这可能会帮助你工作示例http://bit.ly/1flXtbs
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.