Revision history [back]

click to hide/show revision 1
initial version

answered 2020-11-26 11:17:59 +0800

hawk gravatar image hawk

http://hawkphoenix.blogsp... ZK Team

If you just want to allow users to click the cell that closing the angle icon to open a <detail>. You can register a client listener like:

<zk xmlns:w="client">
...
    <detail w:onBind="this.domListen_(jq('.z-detail-outer', this.parent).get(), zk.mobile ? 'onTouchstart' : 'onClick', '_doClick');">

Turn mouse as a pointer icon when hovering on the detail cell: <style> .z-detail-outer{ cursor: pointer; } </style>

If you just want to allow users to click the cell that closing the angle icon to open a <detail>. You can register a client listener like:

<zk xmlns:w="client">
...
    <detail w:onBind="this.domListen_(jq('.z-detail-outer', this.parent).get(), zk.mobile ? 'onTouchstart' : 'onClick', '_doClick');">

Turn mouse as a pointer icon when hovering on the detail cell: cell:

<style>
     .z-detail-outer{
         cursor: pointer;
     }
    </style>

</style>

If you just want to allow users to click the cell that closing enclosing the angle icon to open a <detail>. You can register a client listener like:

<zk xmlns:w="client">
...
    <detail w:onBind="this.domListen_(jq('.z-detail-outer', this.parent).get(), zk.mobile ? 'onTouchstart' : 'onClick', '_doClick');">

Turn mouse as a pointer icon when hovering on the detail cell:

<style>
    .z-detail-outer{
        cursor: pointer;
    }
</style>

If you just want to allow users to click the cell enclosing the angle icon to open a <detail>. You can register a client listener like:

<zk xmlns:w="client">
...
    <detail w:onBind="this.domListen_(jq('.z-detail-outer', this.parent).get(), zk.mobile ? 'onTouchstart' : 'onClick', '_doClick');">
'_doClick');" onOpen="@command('cmd')">

Turn mouse as a pointer icon when hovering on the detail cell:

<style>
    .z-detail-outer{
        cursor: pointer;
    }
</style>
Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More