Sigma Php Ajax framework, Ajax Components, GUI Builder
May 17, 2012, 01:08:05 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
Sigma Php Ajax framework, Ajax Components, GUI Builder
>
Sigma Grid
>
Sigma Grid - Q&A
(Moderators:
steven
,
gbolanoscruz
) >
How do you hide a column in a TreeGrid?
Pages: [
1
]
« previous
next »
Print
Author
Topic: How do you hide a column in a TreeGrid? (Read 339 times)
FurBurger
Jr. Member
Posts: 5
How do you hide a column in a TreeGrid?
«
on:
October 21, 2011, 07:27:25 AM »
I am getting the items for the grid from a SQL Stored Procedure which give me more columns than I want to display in the grid.
For example, I don't want to display the first column in this grid:
var MainHeaders = [
{"id":"BranchId", "type":"label", "width":"0", "caption":"BranchId"},
{"id":"BranchName", "type":"label", "width":"100", "caption":"Branch"},
];
var MainBrowse = (new linb.UI.TreeGrid)
.setHeader(MainHeaders )
.setRows([["1","Main"]])
.show();
How do I hide Column1?
Logged
FurBurger
Jr. Member
Posts: 5
Re: How do you hide a column in a TreeGrid?
«
Reply #1 on:
October 24, 2011, 12:08:05 AM »
I found a solution:
TreeGrid1.showColumn('BranchId',false)
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News & Announcements
-----------------------------
Sigma Visual GUI Builder & Library
-----------------------------
=> Sigma Visual - Knowledge Share
=> Sigma Visual - Q&A
=> Bug Report & Wishlist
-----------------------------
Sigma Grid
-----------------------------
=> Sigma Grid - Q&A
=> Show Case
=> Bug Report & Wishlist
-----------------------------
Other
-----------------------------
=> AJAX & JavaScript
Loading...