I have 5 listviews with different id's and i am giving an header to each listview using class=".k-header". whenever i am running the code the headers are coming on top and the listviews are coming next. I want header for each list view on top of that.
I am using common listview css file for all the listviews.
How can i do that.
Regards
Refer to the jQuery documentation about DOM insertion. Using insertBefore may help.
Related
I have a requirement like for the drop down as shown. Could any one help me in achieving this.
Briefing:
On click of the button a pane should be opened which contains rows and columns containing text, on click of it appropriate action need to take place. The source can be dynamic too....
There are many techniques for acheiving this design. You could do it purely with html and css by having an image that looks like a dropdown popup an absolutely positioned div underneath. Or you could use the asp.net ajax control toolkit control called "PopupControl" that essentially abstracts all the html/css away allowing you to just specify a target panel. There are also various jquery plugins, here is one from abeatifulsite.
I have a treeview that I am creating dynamically from xml (via a web service) and I have it populating and formatting mostly the way I want. However, the one thing that I'm still having some difficulty with is being able to manipulate some of the items within each element of the treeview. Sepcifically, each of the image that I'm using to represent the various node levels. From the source it looks like it's just an image tag in an a tag, which in turn is within at td. However none of these have classes associated with them. Is there a standard way of manipulating spacing or formatting within each node of a treeview? Searching hasn't been very successful but maybe I'm not looking for the right thing...
Since you've noticed the hideous markup that some of the ASP.NET server controls produce, check out the CSS Friendly Control Adapters. Rather than writing out nested tables, the control adapters will render markup that is much easier to work with.
Here is a sample output from a TreeView control. The li elements have classes which you can use when styling their child elements.
when user clicks on Add button, then a pop up button will be opened with certain form elements (like textinput, date field, text area).. When i used 'TAB' inside this form,it is not working. I found in couple of Questions / forums that we need to create an instance of FocusManager and then bring/activate focus for the pop up. But still i didn't see the tab working inside the form. In order to tab order working inside a pop up, what steps we need to follow.
I tried using focusmanager and property like tabfocusenabled, tabenabled and also added taborder inside each form element. But no luck.
Iam using Flash Builder 4.5 and using spark components for development.
Is there any workaround for this problem?
Thanks in Advance,
Regards
Srinivasan
Thanks for all your responses.
Finally the issue has been solved by one of my colleague. Problem is , the form has been loaded inside Horizontal accordion (flexlib HACCORDION). So inorder to draw focus inside the accordion to child elements, we need to add 'hasFocusableChildren="true"' for the HAccordion (horizontal accordion component). Adding this property solves the tab order problem.
I have also pasted the code below:
i want to make a table using action script 3.The description of the table is that table should have three parts
one is header
second body
third footer.
Every part of the table mean header footer body also tables which can contain more than one row.
Please any one can give me idea about table.
Which container mean to use to accomplish this task.Any suggestion like this table.
thanks in advance!!!!
The simple Datagrid component does not let you have a footer.
Here is a simple DataGrid Example http://livedocs.adobe.com/flex/3/html/help.html?content=dpcontrols_6.html
Incase you are looking for a footer as well, check this out :
http://code.seanhess.net/?p=17
http://files.seanhess.net/demos/FooterDataGrid/Test.html
You can use Grid container which can do the same as table tag in HTML.
You probably should use the DataGrid component. There's an example in the online help which should get you started.
There are also some third party components for rendering html tables in Flash, if you prefer that.
i'm new to jquery and I like to know how to do the following:
1) Dynamically create tabs with iFrame inside
2) ability to remove tabs on the fly without postback
3) tabs are unlimited and can shrink depending on the length of the browser
Sorry if this may be too much to ask, but i'd like to learn how to do this. A perfect example of what I'm trying to achieve is the tabs present in the new Yahoo mail UI. When the user selects a mail entry, a new tab will be generated on the fly.
Thank you
Try this example.. This creates tabs dynamically the way you probably wanted.
Dynamically adding jQuery Tabs
Here's a quick working demo..
Dynamic TAB Demo
You can use jQuery Tabs 3 Plugin.
You can use the jQuery Tabs element at http://docs.jquery.com/UI/Tabs
The jQuery tabs plugin can be used. You will not lose the state on the other tabs, because they aren't removed, but simply hidden (display: none).