A method to show hidden columns form IOP platform, which comprises the following steps: firstly the input parameter in the initialization table, then according to the parameters of judgment to open or close the display form column display, the columns of the table, then according to the column display form and column column name, the corresponding index value, generate the corresponding HTML output to the table in use. The invention generates a corresponding form of display hidden column function according to input parameter value by input parameters and initialization form. This column for too much or too long and need to pull the scroll bar to see the back of the column information table, the user can hide some columns, so you can choose to view and display the corresponding column information according to the actual demand, the user can view some information according to their own needs, do not need to always drag the scroll to view information and greatly improve the interactive platform of user experience.
【技术实现步骤摘要】
一种IOP平台表格列的显示隐藏方法
本专利技术涉及一种数据的显示隐藏控制方法,尤其涉及一种IOP平台表格列的显示隐藏方法
技术介绍
近年来随着大数据、云计算的发展,基于大数据的云计算平台IOP应用的也越来越广泛,有很多的云平台项目中的信息以表格的形式展示。由于需要展示的信息太多,而表格的宽度最大值是基于屏幕的分辨率适配的,因此,使用时就会出现表格宽度较大,导致表格一侧的信息需要通过拉动滚动条才能显示在屏幕中。当用户关注的信息一个在表格的右侧、另一在左侧时,就需要反复拉动滚动条进行阅读,这样就大大降低了平台的用户体验感。现有技术中为了解决上述问题,一般有两种处理方法:一种是采用分屏或分页显示;这种显示方法将导致表格会显示在一个或多个页面中,仍然会导致显示和操作不方便,导致表格的可读性和可操作性差,进而影响用户的使用满意度。另外一种就是将表格通过预设程序进行缩小,以使表格和屏幕适配;这种通过缩小以全部显示的方法,显然降低了表格的美观度和显示效果,当表格缩小的比例过大时导致用户无法获知表格显示的内容;另外,当表格的内容较多数据较大时,也会影响显示和操作的效率。如中国专利 ...
【技术保护点】
一种IOP平台表格列的显示隐藏方法,其特征在于,包括以下步骤:首先在初始化表格时输入参数,然后根据参数判断表格中需要开启或关闭列的显示、列的展示形式,再根据列的展示形式以及列名、列对应的index值,生成相应的html输出至所述表格中使用。
【技术特征摘要】
1.一种IOP平台表格列的显示隐藏方法,其特征在于,包括以下步骤:首先在初始化表格时输入参数,然后根据参数判断表格中需要开启或关闭列的显示、列的展示形式,再根据列的展示形式以及列名、列对应的index值,生成相应的html输出至所述表格中使用。2.根据权利要求1所述的一种IOP平台表格列的显示隐藏方法,其特征在于,初始化表格时输入的所述参数包括showHideColumns和showHideType,showHideColumns的默认值为false,表示为不开启列的显示隐藏;showHideType的默认值为‘list’,表示为下拉列表的形式展示。3.根据权利要求2所述的一种IOP平台表格列的显示隐藏方法,其特征在于,所述showHideColumns值类型包括布尔型与数组类型,所述showHideType值为字符串类型。4.根据权利要...
【专利技术属性】
技术研发人员:冯永青,
申请(专利权)人:郑州云海信息技术有限公司,
类型:发明
国别省市:河南,41
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。