Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Provide user interface for column freeze and show frozen column border graphically
15/12/2011
11:46
Avatar
kobruleht
Member
Members
Forum Posts: 144
Member Since:
05/05/2011
sp_UserOfflineSmall Offline

jqGrid 4.3 has frooze column feature in code.

Frozen column border is not visible and there is no users interface to frooze/unfrooze columns.

How to allow end users to use this feature for selection any number of columns, for example:

  1. Double click in column border in header froses left columns
  2. Frozed columns border line becomes bold, wider and changes color a little

How to implement this or anoy other way to froze/unfroze and show frozen columns vie user interface ?

This is posted also in http://stackoverflow.com/quest.....-interface

15/12/2011
12:43
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Sure, wil check these, but alredy we have such thing. Please read here:

http://www.trirand.com/jqgridw.....nmic_setup

Regards

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

15/12/2011
13:16
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Tony,

I understand the feature request of kobruleht not as API support to make the column frozen. I see as the feature request to provide GUI for the user like the Column Chooser where the user can mark some columns as frozen. Alternatively it could be for example the feature of the context menu of the column header.

The intruduction of API to freeze the columns is sure the first and the most important step, but providing of GUI for the user to freeze or to "unfreeze" the column could be, in my opinion, also intersting feature on the next step.

Best regards
Oleg

15/12/2011
13:26
Avatar
kobruleht
Member
Members
Forum Posts: 144
Member Since:
05/05/2011
sp_UserOfflineSmall Offline

tony said:

Hello,

Sure, wil check these, but alredy we have such thing. Please read here:

http://www.trirand.com/jqgridw.....nmic_setup

Regards


Thank you. Yes, I asked for user intefare. There are possibilities:

1. Something Excel like: (I asked about froozing using double click in column header line, maybe this is excel like)

2. Toolbar  button and context menu

3. Additional option in column chooser.

4. Combo box is toolbar Freeze to column contianing column names.

"Excel like" may look best for users.

I tried trirand.com testcase and it allows to sort by frozen and unfrozen columns.

So dont understand this in wiki page Tony referenced:

  • When sortable columns are enabled grid parameter sortable

    It looks like sort does not restrict column frooze.

  • 15/12/2011
    14:24
    Avatar
    tony
    Sofia, Bulgaria
    Moderator
    Members

    Moderators
    Forum Posts: 7721
    Member Since:
    30/10/2007
    sp_UserOfflineSmall Offline

    Hello,

    This type of requierment is out of the concept that jqGrid has:

    Let suppose we create a button in the pager. After this someone will say – "I do not want this in the pager. I want it in the column chooser."

    Then we develop it for the column chooser.

    After that someone will ask – it is possible to have this on the column header and soo on.

    I think you underrstand the point.

    If you know jqGrid little  everyone can develop this for his requierments. We prowide just basic things.

    Kind Regards

    For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

    15/12/2011
    17:34
    Avatar
    kobruleht
    Member
    Members
    Forum Posts: 144
    Member Since:
    05/05/2011
    sp_UserOfflineSmall Offline

    Tony,

    thank you very much for reply. This covers first part of proposal: adding UI. We have different opinions about this.

    The second part of proposal was about providing visual clue so that frozen column border can seen. Currently jqGrid has sort indicators for sorted columns, highlight for selected columns etc.

    It is not required to implement them by everyone, they are provided by jqGrid.

    How about adding similar visual indication for frozed column border ? (I proposed bold, wider column separator line with a bit different color)?

    Also what does this sentence in jqGrdi frozen column docs

    When sortable columns are enabled grid parameter sortable

    mean? It looks like sort does not restrict column frooze so I don't understand this.

    16/12/2011
    11:12
    Avatar
    tony
    Sofia, Bulgaria
    Moderator
    Members

    Moderators
    Forum Posts: 7721
    Member Since:
    30/10/2007
    sp_UserOfflineSmall Offline

    Hello,

    About the border of the visual column - yes this have sense.

    You can style this using the folowing classe:

    "frozen-div" is the class for the frozen header

    "frozen-bdiv" is the class for the frozen data

    We will see in the future how to style this. Recommendations are welcome.

    About the sortabble sentence - this is my error. Fixed. Thanks

    Kind Regards

    Tony

    For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

    Forum Timezone: Europe/Sofia

    Most Users Ever Online: 715

    Currently Online:
    33 Guest(s)

    Currently Browsing this Page:
    1 Guest(s)

    Top Posters:

    OlegK: 1255

    markw65: 179

    kobruleht: 144

    phicarre: 132

    YamilBracho: 124

    Renso: 118

    Member Stats:

    Guest Posters: 447

    Members: 11373

    Moderators: 2

    Admins: 1

    Forum Stats:

    Groups: 1

    Forums: 8

    Topics: 10592

    Posts: 31289

    Newest Members:

    , razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

    Moderators: tony: 7721, Rumen[Trirand]: 81

    Administrators: admin: 66

    Comments are closed.
    Privacy Policy   Terms and Conditions   Contact Information